Skip to content

Commit a52dfe2

Browse files
authored
Release 2.0.3 (#59)
* update dependencies & add instructions to rebuild native module from source * fix: windows version * fix: linux require picker * feat: add picker for linux
1 parent bcfc962 commit a52dfe2

15 files changed

+6257
-5965
lines changed

.npmrc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
runtime = electron
2-
target = 1.7.10
2+
target = 7.1.7
33
target_arch = x64
44
disturl = https://atom.io/download/atom-shell
55
export npm_config_runtime=electron

README.md

-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ Colorpicker's menu come with a lot of cool features :
3838
With Pin, you can bring Colorpicker to the foreground. This makes it convenient to work quickly with different applications at the same time.
3939

4040
## Picker
41-
#### Note: This feature isn't available for Linux. See [#18](https://github.com/Toinane/colorpicker/issues/18)
4241
![Picker gif](https://github.com/Toinane/colorpicker-website/blob/master/gifs/picker.gif?raw=true)
4342

4443
The Picker allows you to quickly retrieve a color anywhere on the screen. Whether it's on your browser, Photoshop, or whatever.

colorpicker-build-nightly.json

+36-34
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,39 @@
11
{
2-
"appId": "com.electron.colorpicker.nightly",
3-
"productName": "ColorpickerNightly",
4-
"compression": "store",
5-
"copyright": "Copyright @Toinane",
6-
"directories": {
7-
"output": "out"
8-
},
9-
"files": [
10-
"**/*"
11-
],
12-
"mac": {
13-
"category": "public.app-category.graphics-design",
14-
"icon": "build/icon-nightly.icns",
15-
"type": "development"
16-
},
17-
"dmg": {
18-
"icon": "build/VolumeIcon-nightly.icns",
19-
"background": "build/background-nightly.png",
20-
"window": {
21-
"width": 540,
22-
"height": 380
2+
"appId": "com.electron.colorpicker.nightly",
3+
"productName": "ColorpickerNightly",
4+
"compression": "store",
5+
"copyright": "Copyright @Toinane",
6+
"buildDependenciesFromSource": true,
7+
"directories": {
8+
"output": "out"
9+
},
10+
"files": ["**/*"],
11+
"mac": {
12+
"category": "public.app-category.graphics-design",
13+
"icon": "build/icon-nightly.icns",
14+
"type": "development"
15+
},
16+
"dmg": {
17+
"icon": "build/VolumeIcon-nightly.icns",
18+
"background": "build/background-nightly.png",
19+
"window": {
20+
"width": 540,
21+
"height": 380
22+
}
23+
},
24+
"linux": {
25+
"icon": "./build",
26+
"synopsis": "Colorpicker App",
27+
"category": "Graphics"
28+
},
29+
"snap": {
30+
"plugs": ["default", "desktop"]
31+
},
32+
"win": {
33+
"icon": "build/icon-nightly.ico"
34+
},
35+
"nsis": {
36+
"oneClick": false,
37+
"allowToChangeInstallationDirectory": true
2338
}
24-
},
25-
"linux": {
26-
"icon": "./build",
27-
"synopsis": "Colorpicker App",
28-
"category": "Graphics"
29-
},
30-
"win": {
31-
"icon": "build/icon-nightly.ico"
32-
},
33-
"nsis": {
34-
"oneClick": false,
35-
"allowToChangeInstallationDirectory": true
36-
}
3739
}

colorpicker-build.json

+36-40
Original file line numberDiff line numberDiff line change
@@ -1,43 +1,39 @@
11
{
2-
"appId": "com.electron.colorpicker",
3-
"productName": "Colorpicker",
4-
"compression": "maximum",
5-
"copyright": "Copyright @Toinane",
6-
"directories": {
7-
"output": "out"
8-
},
9-
"files": [
10-
"**/*"
11-
],
12-
"mac": {
13-
"category": "public.app-category.graphics-design",
14-
"icon": "build/icon.icns",
15-
"type": "distribution"
16-
},
17-
"dmg": {
18-
"icon": "build/VolumeIcon.icns",
19-
"background": "build/background.png",
20-
"window": {
21-
"width": 540,
22-
"height": 380
2+
"appId": "com.electron.colorpicker",
3+
"productName": "Colorpicker",
4+
"compression": "maximum",
5+
"copyright": "Copyright @Toinane",
6+
"buildDependenciesFromSource": true,
7+
"directories": {
8+
"output": "out"
9+
},
10+
"files": ["**/*"],
11+
"mac": {
12+
"category": "public.app-category.graphics-design",
13+
"icon": "build/icon.icns",
14+
"type": "distribution"
15+
},
16+
"dmg": {
17+
"icon": "build/VolumeIcon.icns",
18+
"background": "build/background.png",
19+
"window": {
20+
"width": 540,
21+
"height": 380
22+
}
23+
},
24+
"linux": {
25+
"icon": "./build",
26+
"synopsis": "Colorpicker App",
27+
"category": "Graphics"
28+
},
29+
"snap": {
30+
"plugs": ["default", "desktop"]
31+
},
32+
"win": {
33+
"icon": "build/icon.ico"
34+
},
35+
"nsis": {
36+
"oneClick": false,
37+
"allowToChangeInstallationDirectory": true
2338
}
24-
},
25-
"linux": {
26-
"icon": "./build",
27-
"synopsis": "Colorpicker App",
28-
"category": "Graphics"
29-
},
30-
"snap": {
31-
"plugs": [
32-
"default",
33-
"desktop"
34-
]
35-
},
36-
"win": {
37-
"icon": "build/icon.ico"
38-
},
39-
"nsis": {
40-
"oneClick": false,
41-
"allowToChangeInstallationDirectory": true
42-
}
4339
}

0 commit comments

Comments
 (0)