Skip to content

Commit

Permalink
Minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Nerdomante committed Dec 2, 2023
1 parent 88f2d17 commit 9f2e21c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions NasaPod/Forms/FormSettings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ private void ManageAutostart(bool autostart)
IWshRuntimeLibrary.WshShell shell = new IWshRuntimeLibrary.WshShell();
IWshRuntimeLibrary.IWshShortcut shortcut = (IWshRuntimeLibrary.IWshShortcut)shell.CreateShortcut(Path.Combine(Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.Startup)), "Nasa.lnk"));
shortcut.TargetPath = Application.ExecutablePath;
shortcut.WorkingDirectory = Path.GetDirectoryName(Application.ExecutablePath);
shortcut.Save();
}
}
Expand Down
4 changes: 2 additions & 2 deletions NasaPod/Nasa.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
<SignAssembly>False</SignAssembly>
<PackageProjectUrl>https://github.com/Nerdomante/NasaAPOD</PackageProjectUrl>
<RepositoryUrl>https://github.com/Nerdomante/NasaAPOD</RepositoryUrl>
<AssemblyVersion>1.2.4</AssemblyVersion>
<FileVersion>1.2.4</FileVersion>
<AssemblyVersion>1.2.5</AssemblyVersion>
<FileVersion>1.2.5</FileVersion>
</PropertyGroup>

<ItemGroup>
Expand Down

0 comments on commit 9f2e21c

Please sign in to comment.