mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-19 00:20:25 +02:00
Start of package management
This commit is contained in:
parent
e517a9745a
commit
e6c4a95ccd
25 changed files with 4316 additions and 692 deletions
|
@ -69,7 +69,7 @@ namespace IDE.ui
|
|||
{
|
||||
InstalledProject installedProject = new .();
|
||||
installedProject.mName = new String(registryEntry.mProjName);
|
||||
switch (registryEntry.mLocation.mVerSpec)
|
||||
switch (registryEntry.mLocation)
|
||||
{
|
||||
case .Path(let path):
|
||||
installedProject.mPath = new String();
|
||||
|
@ -176,13 +176,12 @@ namespace IDE.ui
|
|||
|
||||
let entry = mFilteredList[idx];
|
||||
|
||||
let verSpec = new VerSpecRecord();
|
||||
verSpec.SetSemVer("*");
|
||||
VerSpec verSpec = .SemVer(new .("*"));
|
||||
defer verSpec.Dispose();
|
||||
|
||||
let project = gApp.mProjectPanel.ImportProject(entry.mPath, verSpec);
|
||||
if (project == null)
|
||||
{
|
||||
delete verSpec;
|
||||
return;
|
||||
}
|
||||
if (project.mProjectName != entry.mName)
|
||||
|
@ -195,7 +194,7 @@ namespace IDE.ui
|
|||
{
|
||||
if (projectSpec.mProjectName == project.mProjectName)
|
||||
{
|
||||
projectSpec.mVerSpec.SetPath(relProjectPath);
|
||||
projectSpec.mVerSpec = .Path(new String(relProjectPath));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue