mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-12 03:48:56 +00:00
Small fixes to CM and the autorun task
This commit is contained in:
1 parent
4f3d95f11c
commit
e058b056b4
3 files changed
+3
-2
No files matched your search
@@ -807,7 +807,7 @@
|
||||
<Content Include="lib\AssettoCorsaSharedMemory.dll" />
|
||||
<Content Include="lib\Ets2SdkClient.dll" />
|
||||
<Content Include="lib\SDKDLL.dll">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="LogitechLedEnginesWrapper.dll">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
|
||||
Binary file not shown.
@@ -116,8 +116,9 @@ namespace Artemis.Settings
|
||||
{
|
||||
// Overwrite any existing tasks in case the installation folder changed
|
||||
var path = Path.GetTempFileName();
|
||||
var artemisPath = AppDomain.CurrentDomain.BaseDirectory.Substring(0, AppDomain.CurrentDomain.BaseDirectory.Length - 1);
|
||||
var xml = Resources.Artemis_autorun
|
||||
.Replace("{{executablePath}}", AppDomain.CurrentDomain.BaseDirectory + "Artemis.exe")
|
||||
.Replace("{{artemisPath}}", AppDomain.CurrentDomain.BaseDirectory)
|
||||
.Replace("{{author}}", System.Security.Principal.WindowsIdentity.GetCurrent().Name);
|
||||
File.WriteAllText(path, xml);
|
||||
|
||||
|
||||
Reference in new issue
Block a user