SHA256
1
0
forked from pool/bitwarden

Accepting request 1200684 from devel:languages:nodejs

OBS-URL: https://build.opensuse.org/request/show/1200684
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bitwarden?expand=0&rev=33
This commit is contained in:
Ana Guerrero 2024-09-13 12:33:45 +00:00 committed by Git OBS Bridge
commit bf1ae5a5b7
3 changed files with 21 additions and 1 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Thu Sep 12 14:39:24 UTC 2024 - Bruno Pitrus <brunopitrus@hotmail.com>
- Fix exe path in mozilla manifest (bsc#1230388)
* add main-getPath-exe.patch
- Remove bogus libdesktop_napi.so provide
-------------------------------------------------------------------
Thu Sep 5 20:08:51 UTC 2024 - Bruno Pitrus <brunopitrus@hotmail.com>

View File

@ -20,6 +20,7 @@
#not running the tests on OBS — extremely flaky
%bcond_with test_rust
Name: bitwarden
Version: 2024.8.2
Release: 0
@ -59,6 +60,7 @@ Patch4: desktop_native-rust-arch.patch
Patch5: remove-argon2-browser.patch
Patch7: bug-reporting-url.patch
Patch8: no-sourcemaps.patch
Patch9: main-getPath-exe.patch
#patches to use system libs
@ -115,7 +117,7 @@ Requires: (google-opensans-fonts or open-sans-fonts)
Requires: nodejs-electron%{_isa}
%global __requires_exclude ^npm(.*)|^nodejs(.*)
%global __provides_exclude ^npm(.*)|^nodejs(.*)
%global __provides_exclude ^npm(.*)|^nodejs(.*)|^lib.*\\.so.*$

11
main-getPath-exe.patch Normal file
View File

@ -0,0 +1,11 @@
--- bitwarden-2024.8.2/apps/desktop/src/main.ts.orig 2024-09-05 19:34:54.000000000 +0200
+++ bitwarden-2024.8.2/apps/desktop/src/main.ts 2024-09-12 16:26:40.135229235 +0200
@@ -218,7 +218,7 @@ export class Main {
this.logService,
this.windowMain,
app.getPath("userData"),
- app.getPath("exe"),
+ '/usr/bin/bitwarden-desktop',
);
this.desktopAutofillSettingsService = new DesktopAutofillSettingsService(stateProvider);