{"action":"created","issue":{"url":"https://api.github.com/repos/bitwarden/desktop/issues/126","repository_url":"https://api.github.com/repos/bitwarden/desktop","labels_url":"https://api.github.com/repos/bitwarden/desktop/issues/126/labels{/name}","comments_url":"https://api.github.com/repos/bitwarden/desktop/issues/126/comments","events_url":"https://api.github.com/repos/bitwarden/desktop/issues/126/events","html_url":"https://github.com/bitwarden/desktop/issues/126","id":354004353,"node_id":"MDU6SXNzdWUzNTQwMDQzNTM=","number":126,"title":"Help with launcher script for flatpak","user":{"login":"ghisvail","id":1964655,"node_id":"MDQ6VXNlcjE5NjQ2NTU=","avatar_url":"https://avatars0.githubusercontent.com/u/1964655?v=4","gravatar_id":"","url":"https://api.github.com/users/ghisvail","html_url":"https://github.com/ghisvail","followers_url":"https://api.github.com/users/ghisvail/followers","following_url":"https://api.github.com/users/ghisvail/following{/other_user}","gists_url":"https://api.github.com/users/ghisvail/gists{/gist_id}","starred_url":"https://api.github.com/users/ghisvail/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ghisvail/subscriptions","organizations_url":"https://api.github.com/users/ghisvail/orgs","repos_url":"https://api.github.com/users/ghisvail/repos","events_url":"https://api.github.com/users/ghisvail/events{/privacy}","received_events_url":"https://api.github.com/users/ghisvail/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2018-08-25T11:07:34Z","updated_at":"2018-08-27T12:14:16Z","closed_at":null,"author_association":"NONE","body":"I am in the process of submitting a [flatpak](https://github.com/flathub/flathub/pull/547) for the Bitwarden desktop application.\r\n\r\nIt builds fine and in a reproducible fashion on x86 architectures, which is a good start. I filed a separate [issue for ARM builds](https://github.com/bitwarden/desktop/issues/125).\r\n\r\nHowever, I am struggling with the definition of an appropriate launcher script for the flatpak entrypoint (basically triggered with `flatpak run com.bitwarden.desktop`). For Electron apps I have packaged previously, the script is as simple as running `npm start --prefix=/app/main`, whereby `/app/main` is where the output of `npm install` is moved inside the flatpak sandbox. Here is an example for [draw.io](https://github.com/flathub/com.jgraph.drawio.desktop/blob/a310451027fb8d0f2536cc19265b43393bfa9b45/com.jgraph.drawio.desktop.yml#L56).\r\n\r\nCould you help me define such wrapper script for Bitwarden, please?"},"comment":{"url":"https://api.github.com/repos/bitwarden/desktop/issues/comments/416206912","html_url":"https://github.com/bitwarden/desktop/issues/126#issuecomment-416206912","issue_url":"https://api.github.com/repos/bitwarden/desktop/issues/126","id":416206912,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNjIwNjkxMg==","user":{"login":"ghisvail","id":1964655,"node_id":"MDQ6VXNlcjE5NjQ2NTU=","avatar_url":"https://avatars0.githubusercontent.com/u/1964655?v=4","gravatar_id":"","url":"https://api.github.com/users/ghisvail","html_url":"https://github.com/ghisvail","followers_url":"https://api.github.com/users/ghisvail/followers","following_url":"https://api.github.com/users/ghisvail/following{/other_user}","gists_url":"https://api.github.com/users/ghisvail/gists{/gist_id}","starred_url":"https://api.github.com/users/ghisvail/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ghisvail/subscriptions","organizations_url":"https://api.github.com/users/ghisvail/orgs","repos_url":"https://api.github.com/users/ghisvail/repos","events_url":"https://api.github.com/users/ghisvail/events{/privacy}","received_events_url":"https://api.github.com/users/ghisvail/received_events","type":"User","site_admin":false},"created_at":"2018-08-27T12:14:16Z","updated_at":"2018-08-27T12:14:16Z","author_association":"NONE","body":"Looks like `gulp-google-webfonts` is the culprit. I'd have to patch the code base somehow to get the fonts from within the sandbox instead of online."}}
{"actor":{"display_login":"ghisvail"}}