Skip to content

Commit 78ce1ce

Browse files
committed
Use the icon and background from the package instead of the LocalStorage [PEN-213]
1 parent 6fd72ae commit 78ce1ce

File tree

3 files changed

+7
-47
lines changed

3 files changed

+7
-47
lines changed

ARM64/pengwin.json

+1-44
Original file line numberDiff line numberDiff line change
@@ -1,46 +1,3 @@
11
{
2-
"profiles": [
3-
{
4-
"updates": "{7f586916-8357-53d4-bb2b-ca96f639898a}",
5-
"commandline": "%LOCALAPPDATA%\\Microsoft\\WindowsApps\\pengwin.exe",
6-
"icon": "%LOCALAPPDATA%\\Packages\\WhitewaterFoundryLtd.Co.16571368D6CFF_kd1vv0z0vy70w\\LocalState\\pengwin.png",
7-
"name": "Pengwinarm",
8-
"acrylicOpacity": 0.9,
9-
"backgroundImage": "%LOCALAPPDATA%\\Packages\\WhitewaterFoundryLtd.Co.16571368D6CFF_kd1vv0z0vy70w\\LocalState\\background1.png",
10-
"backgroundImageAlignment": "bottomRight",
11-
"backgroundImageOpacity": 0.2,
12-
"backgroundImageStretchMode": "none",
13-
"bellStyle": "none",
14-
"colorScheme": "Pengwin",
15-
"cursorShape": "vintage",
16-
"fontFace": "Cascadia Code",
17-
"useAcrylic": true
18-
}
19-
],
20-
"schemes": [
21-
{
22-
"name": "Pengwin",
23-
24-
"background": "#16001A",
25-
"black": "#0C0C0C",
26-
"blue": "#003DE8",
27-
"brightBlack": "#767676",
28-
"brightBlue": "#3B78FF",
29-
"brightCyan": "#61D6D6",
30-
"brightGreen": "#16C60C",
31-
"brightPurple": "#F500D8",
32-
"brightRed": "#E74856",
33-
"brightWhite": "#F2F2F2",
34-
"brightYellow": "#F9F1A5",
35-
"cursorColor": "#FFFFFF",
36-
"cyan": "#3A96DD",
37-
"foreground": "#E3E3E3",
38-
"green": "#13A10E",
39-
"purple": "#9B1AAD",
40-
"red": "#E01123",
41-
"selectionBackground": "#FFFFFF",
42-
"white": "#CCCCCC",
43-
"yellow": "#C19C00"
44-
}
45-
]
2+
"copied from x64": 1
463
}

azure-pipelines.yml

+4-1
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,11 @@ steps:
4949
script: |
5050
version=$(sed -n -E '/^ +Version=/s/^ +Version="([0-9\.]*)(.*)/\1/p' Pengwin/Package.appxmanifest)
5151
sed -E -i "s/(^.*commandline.*16571368D6CFF_)([0-9\.]+)(_x64)(_.*$)/\1${version}_x64\4/" x64/pengwin.json
52+
sed -E -i "s/(^.*icon.*16571368D6CFF_)([0-9\.]+)(_x64)(_.*$)/\1${version}_x64\4/" x64/pengwin.json
53+
sed -E -i "s/(^.*backgroundImage.*16571368D6CFF_)([0-9\.]+)(_x64)(_.*$)/\1${version}_x64\4/" x64/pengwin.json
54+
5255
cp x64/pengwin.json ARM64/pengwin.json
53-
sed -E -i "s/(^.*commandline.*16571368D6CFF_)([0-9\.]+)(_x64)(_.*$)/\1${version}_ARM64\4/" ARM64/pengwin.json
56+
sed -E -i "s/_x64_/_ARM64_/g" ARM64/pengwin.json
5457
5558
- task: VSBuild@1
5659
inputs:

x64/pengwin.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
{
44
"updates": "{7f586916-8357-53d4-bb2b-ca96f639898a}",
55
"commandline": "%ProgramFiles%\\WindowsApps\\WhitewaterFoundryLtd.Co.16571368D6CFF_22.1.2.0_x64__kd1vv0z0vy70w\\DistroLauncher\\pengwin.exe",
6-
"icon": "%LOCALAPPDATA%\\Packages\\WhitewaterFoundryLtd.Co.16571368D6CFF_kd1vv0z0vy70w\\LocalState\\pengwin.png",
6+
"icon": "%ProgramFiles%\\WindowsApps\\WhitewaterFoundryLtd.Co.16571368D6CFF_22.1.2.0_x64__kd1vv0z0vy70w\\Assets\\pengwin.png",
77
"name": "Pengwin64",
88
"acrylicOpacity": 0.9,
9-
"backgroundImage": "%LOCALAPPDATA%\\Packages\\WhitewaterFoundryLtd.Co.16571368D6CFF_kd1vv0z0vy70w\\LocalState\\background1.png",
9+
"backgroundImage": "%ProgramFiles%\\WindowsApps\\WhitewaterFoundryLtd.Co.16571368D6CFF_22.1.2.0_x64__kd1vv0z0vy70w\\Assets\\background1.png",
1010
"backgroundImageAlignment": "bottomRight",
1111
"backgroundImageOpacity": 0.2,
1212
"backgroundImageStretchMode": "none",

0 commit comments

Comments
 (0)