Skip to content

Commit

Permalink
Simplify Flatpak environment detection
Browse files Browse the repository at this point in the history
  • Loading branch information
priahoud committed Jul 22, 2024
1 parent a646056 commit 84f97c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/kotlin/com/jetpackduba/gitnuro/App.kt
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ class App {
val windowPlacement = appSettingsRepository.windowPlacement.toWindowPlacement
val dirToOpen = getDirToOpen(args)

appEnvInfo.isFlatpak = args.contains("--flatpak")
appEnvInfo.isFlatpak = File("/.flatpak-info").exists()
appStateManager.loadRepositoriesTabs()

try {
Expand Down

0 comments on commit 84f97c7

Please sign in to comment.