Fix installer

This commit is contained in:
sardelka9515
2022-11-30 20:25:07 +08:00
parent a9b05c62ff
commit 4cc5054b91

View File

@ -56,7 +56,7 @@ namespace RageCoop.Client.Installer
var shvPath = Path.Combine(root, "ScriptHookV.dll");
var shvdnPath = Path.Combine(root, "ScriptHookVDotNet3.dll");
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");
if (Directory.GetParent(Assembly.GetExecutingAssembly().Location).FullName.StartsWith(installPath))
throw new InvalidOperationException(