mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-23 18:18:00 +02:00
Initial package management support
This commit is contained in:
parent
78138f5c5a
commit
4870c6fdd8
19 changed files with 2520 additions and 205 deletions
|
@ -123,6 +123,7 @@ namespace IDE
|
|||
List<String> mConfigPathQueue = new List<String>() ~ DeleteContainerAndItems!(_);
|
||||
List<LibDirectory> mLibDirectories = new List<LibDirectory>() ~ DeleteContainerAndItems!(_);
|
||||
List<FileSystemWatcher> mWatchers = new .() ~ DeleteContainerAndItems!(_);
|
||||
public String mManagedLibPath = new .() ~ delete _;
|
||||
public bool mLibsChanged;
|
||||
|
||||
void LibsChanged()
|
||||
|
@ -221,6 +222,15 @@ namespace IDE
|
|||
}
|
||||
}
|
||||
|
||||
data.GetString("ManagedLibDir", mManagedLibPath);
|
||||
if ((mManagedLibPath.IsEmpty) && (!mLibDirectories.IsEmpty))
|
||||
{
|
||||
var libPath = Path.GetAbsolutePath(mLibDirectories[0].mPath, gApp.mInstallDir, .. scope .());
|
||||
var managedPath = Path.GetAbsolutePath("../BeefManaged", libPath, .. scope .());
|
||||
if (Directory.Exists(managedPath))
|
||||
mManagedLibPath.Set(managedPath);
|
||||
}
|
||||
|
||||
mConfigFiles.Add(configFile);
|
||||
|
||||
return .Ok;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue