Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main'
Browse files Browse the repository at this point in the history
  • Loading branch information
PierreOlivierBrillant committed Oct 16, 2024
2 parents e4c61dd + 41f2f70 commit d8a6e46
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion scriptsharp/ScriptSharp/Script4N6.cs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ await Task.WhenAll(
Program.DownloadRepoKMB(),
DownloadRepo4N6());
// start android studio
Utils.CreateDesktopShortcut("IntelliJ", Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.Desktop), "idea", "bin", "idea64.exe"));
Utils.CreateDesktopShortcut("IntelliJ", Program.PathToIntellij());

await Utils.StartAndroidStudio();
Utils.StartKMB();
Expand Down
4 changes: 2 additions & 2 deletions scriptsharp/ScriptSharp/Script5N6.cs
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ await Task.WhenAll(
await InstallFlutter();
Utils.StartKMB();
await Utils.StartAndroidStudio();
Utils.CreateDesktopShortcut("IntelliJ", Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.Desktop), "idea", "bin", "idea64.exe"));
Utils.CreateDesktopShortcut("IntelliJ", Program.PathToIntellij());
LogSingleton.Get.LogAndWriteLine(" FAIT 5N6 Flutter complet");
}

Expand Down Expand Up @@ -98,7 +98,7 @@ await Task.WhenAll(
Program.InstallAndroidStudio(),
Program.DownloadRepoKMB(),
DownloadRepo5N6());
Utils.CreateDesktopShortcut("IntelliJ", Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.Desktop), "idea", "bin", "idea64.exe"));
Utils.CreateDesktopShortcut("IntelliJ", Program.PathToIntellij());
Utils.AddToPath(Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.Desktop), "idea", "bin"));
Utils.RunCommand(Program.PathToAndroidStudio() + " installPlugins io.flutter");
Utils.RunCommand(Program.PathToAndroidStudio() + " installPlugins com.github.copilot");
Expand Down
3 changes: 1 addition & 2 deletions scriptsharp/ScriptSharp/Utils.cs
Original file line number Diff line number Diff line change
Expand Up @@ -258,8 +258,7 @@ public static async Task StartIntellij()
{
// start android studio
LogSingleton.Get.LogAndWriteLine("Démarrage d'Intellij IDEA");
string desktopPath = Environment.GetFolderPath(Environment.SpecialFolder.Desktop);
string path = Path.Combine(desktopPath, "idea","bin","idea64.exe");
string path = Program.PathToIntellij();
CreateDesktopShortcut("Intellij", path);
if (File.Exists(path))
{
Expand Down

0 comments on commit d8a6e46

Please sign in to comment.