Fix installer
This commit is contained in:
@ -56,7 +56,7 @@ namespace RageCoop.Client.Installer
|
|||||||
var shvPath = Path.Combine(root, "ScriptHookV.dll");
|
var shvPath = Path.Combine(root, "ScriptHookV.dll");
|
||||||
var shvdnPath = Path.Combine(root, "ScriptHookVDotNet3.dll");
|
var shvdnPath = Path.Combine(root, "ScriptHookVDotNet3.dll");
|
||||||
var scriptsPath = Path.Combine(root, "Scripts");
|
var scriptsPath = Path.Combine(root, "Scripts");
|
||||||
var installPath = Path.Combine(root, "RageCoop", "Scripts");
|
var installPath = Path.Combine(root, "RageCoop");
|
||||||
var legacyPath = Path.Combine(scriptsPath, "RageCoop");
|
var legacyPath = Path.Combine(scriptsPath, "RageCoop");
|
||||||
if (Directory.GetParent(Assembly.GetExecutingAssembly().Location).FullName.StartsWith(installPath))
|
if (Directory.GetParent(Assembly.GetExecutingAssembly().Location).FullName.StartsWith(installPath))
|
||||||
throw new InvalidOperationException(
|
throw new InvalidOperationException(
|
||||||
|
Reference in New Issue
Block a user