Skip to content
This repository was archived by the owner on Apr 14, 2025. It is now read-only.

Commit 9455ad7

Browse files
committed
Fixed deb build
1 parent b237d66 commit 9455ad7

File tree

5 files changed

+24
-31
lines changed

5 files changed

+24
-31
lines changed

.desktop

Lines changed: 0 additions & 11 deletions
This file was deleted.

Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ RUN apt update && apt install -y \
2323
ca-certificates \
2424
rpm \
2525
zip \
26+
libpng-dev \
2627
snapcraft
2728

2829
RUN curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.11/install.sh | bash && \

build.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ export DISPLAY=:99.0
55
export DEBUG=electron-installer-snap:snapcraft
66
sleep 5
77

8-
yarn install
8+
yarn install --force
99
yarn run production
10-
yarn run publish
10+
yarn run publish

package.json

Lines changed: 20 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,16 @@
11
{
22
"name": "gtt-taskbar",
3-
"productName": "gitlab time tracker taskbar",
3+
"productName": "gtt-taskbar",
4+
"genericName": "GitLab menubar/taskbar application",
45
"description": "A crossplatform menubar/taskbar application for GitLabs time tracking feature.",
6+
"homepage": "https://github.com/kriskbx/gitlab-time-tracker-taskbar",
7+
"keywords": [
8+
"GitLab",
9+
"Timetracking"
10+
],
11+
"author": "Kris Siepert",
12+
"private": true,
13+
"license": "GPL-2.0",
514
"version": "0.3.4",
615
"main": "src/index.js",
716
"scripts": {
@@ -16,10 +25,6 @@
1625
"production": "NODE_ENV=production webpack --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js",
1726
"production-windows": "node node_modules/cross-env/dist/bin/cross-env.js NODE_ENV=production node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js"
1827
},
19-
"keywords": [],
20-
"author": "Kris Siepert",
21-
"private": true,
22-
"license": "GPL-2.0",
2328
"config": {
2429
"forge": {
2530
"publish_targets": {
@@ -56,35 +61,33 @@
5661
"packageManager": "yarn",
5762
"icon": "./resources/images/icon/icon.png"
5863
},
59-
"electronInstallerSnap": {
60-
"appPlugs": [
61-
"browser-support"
62-
],
63-
"grade": "stable",
64-
"desktopTemplate": ".desktop"
65-
},
6664
"electronWinstallerConfig": {
67-
"name": "gtt-taskbar",
6865
"setupIcon": "./resources/images/icon/icon.ico"
6966
},
7067
"electronInstallerDebian": {
71-
"icon": "./resources/images/icon/icon.png",
68+
"depends": [
69+
"libappindicator1"
70+
],
7271
"categories": [
7372
"Utility"
7473
],
75-
"homepage": "https://github.com/kriskbx/gitlab-time-tracker-taskbar"
74+
"icon": "./resources/images/icon/icon.png"
7675
},
7776
"electronInstallerRedhat": {
78-
"license": "GPL-2.0",
7977
"requires": [
8078
"lsb",
81-
"libappindictor"
79+
"libappindicator"
8280
],
8381
"compressionLevel": 9,
8482
"categories": [
8583
"Utility"
8684
]
8785
},
86+
"electronInstallerSnap": {
87+
"grade": "stable",
88+
"confinement": "strict",
89+
"icon": "./resources/images/icon/icon.png"
90+
},
8891
"snapStore": {
8992
"release": "stable"
9093
},

src/build/app.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)