Skip to content

Commit

Permalink
Don't create launch file on Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelBelsanti committed Jan 28, 2025
1 parent 1c116e4 commit 2177e0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Grayjay.Desktop.CEF/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ static async Task Main(string[] args)
File.Delete(PortFile);
File.WriteAllText(StartingUpFile, "");

if(RuntimeInformation.IsOSPlatform(OSPlatform.Windows) || RuntimeInformation.IsOSPlatform(OSPlatform.Linux))
if(RuntimeInformation.IsOSPlatform(OSPlatform.Windows))
{
Process p = Process.GetCurrentProcess();
File.WriteAllText("launch", Path.GetFileName(p.MainModule!.FileName));
Expand Down

0 comments on commit 2177e0b

Please sign in to comment.