···1+diff --git a/bottles/frontend/windows/main_window.py b/bottles/frontend/windows/main_window.py
2+index 79bf0d72..e3a15cb5 100644
3+--- a/bottles/frontend/windows/main_window.py
4++++ b/bottles/frontend/windows/main_window.py
5+@@ -104,29 +104,29 @@ class MainWindow(Adw.ApplicationWindow):
6+7+ def response(dialog, response, *args):
8+ if response == "close":
9+- quit(1)
10++ return
11+12+ body = _(
13+- "Bottles is only supported within a sandboxed environment. Official sources of Bottles are available at"
14++ "Bottles is only supported within a sandboxed environment. Please report any issues at:"
15+ )
16+- download_url = "usebottles.com/download"
17++ bugtracker_url = "github.com/NixOS/nixpkgs/issues"
18+19+ error_dialog = Adw.AlertDialog.new(
20+ _("Unsupported Environment"),
21+- f"{body} <a href='https://{download_url}' title='https://{download_url}'>{download_url}.</a>",
22++ f"{body} <a href='https://{bugtracker_url}' title='https://{bugtracker_url}'>{bugtracker_url}.</a>",
23+ )
24+25+- error_dialog.add_response("close", _("Close"))
26++ error_dialog.add_response("close", _("Understood"))
27+ error_dialog.set_body_use_markup(True)
28+ error_dialog.connect("response", response)
29+ error_dialog.present(self)
30+- logging.error(
31++ logging.warn(
32+ _(
33+ "Bottles is only supported within a sandboxed format. Official sources of Bottles are available at:"
34+ )
35+ )
36+- logging.error("https://usebottles.com/download/")
37+- return
38++ logging.warn("https://usebottles.com/download/")
39++ logging.warn("Please report any issues at: https://github.com/NixOS/nixpkgs/issues")
40+41+ # Loading view
42+ self.page_loading = LoadingView()
+2-1
pkgs/by-name/bo/bottles/package.nix
···4 bottles-unwrapped,
5 extraPkgs ? pkgs: [ ],
6 extraLibraries ? pkgs: [ ],
07}:
89let
···16 pkgs:
17 with pkgs;
18 [
19- bottles-unwrapped
20 # This only allows to enable the toggle, vkBasalt won't work if not installed with environment.systemPackages (or nix-env)
21 # See https://github.com/bottlesdevs/Bottles/issues/2401
22 vkbasalt
···4 bottles-unwrapped,
5 extraPkgs ? pkgs: [ ],
6 extraLibraries ? pkgs: [ ],
7+ removeWarningPopup ? false,
8}:
910let
···17 pkgs:
18 with pkgs;
19 [
20+ (bottles-unwrapped.override { inherit removeWarningPopup; })
21 # This only allows to enable the toggle, vkBasalt won't work if not installed with environment.systemPackages (or nix-env)
22 # See https://github.com/bottlesdevs/Bottles/issues/2401
23 vkbasalt