-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathforge.config.js
More file actions
170 lines (170 loc) · 4.33 KB
/
forge.config.js
File metadata and controls
170 lines (170 loc) · 4.33 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
module.exports = {
packagerConfig: {
name: "Google Docs",
arch: 'all',
buildIdentifier: 'prod',
appBundleId: 'io.techfiddle.google-docs',
appCopyright: 'Copyright (c) 2023 Tech Fiddle & Google. All Rights Reserved.',
executableName: "google-docs",
icon: './assets/icon.png',
out: './dist',
platform: [
'darwin',
'win32',
'linux',
'mas'
],
win32metadata: {
CompanyName: 'Tech Fiddle',
FileDescription: 'Google Docs Desktop App',
InternalName: 'Google Docs',
ProductName: 'Google Docs'
},
appCategoryType: 'public.app-category.productivity',
darwinDarkModeSupport: true,
},
rebuildConfig: {},
makers: [
// {
// name: '@electron-forge/maker-appx',
// config: {
// packageName: 'Google Docs',
// packageDisplayName: 'Google Docs',
// packageDescription: 'Google Docs Desktop App',
// publisher: 'CN=developmentca',
// devCert: './assets/devcert.pfx',
// certPass: 'process.env.certPass'
// }
// },
{
name: '@electron-forge/maker-squirrel',
config: {
name: "GoogleDocs",
authors: 'Tech Fiddle',
copyright: 'Copyright (c) 2023 Tech Fiddle. All Rights Reserved.',
description: 'Google Docs Desktop App',
// exe: 'Google-Docs-Windows',
setupExe: 'Google-Docs-Windows.exe',
iconUrl: 'https://cdn.jsdelivr.net/gh/Comp-Labs/cdn/img/apps/electron/google-docs.ico',
setupIcon: './assets/icon.ico',
loadingGif: './assets/loading.gif'
},
},
{
name: '@electron-forge/maker-zip',
platforms: ['darwin'],
},
{
name: '@electron-forge/maker-dmg',
config: {
additionalDmgOptions: {},
name: 'Google Docs',
background: './assets/background.png',
icon: './assets/icon.png'
}
},
// {
// name: '@electron-forge/maker-pkg',
// config: {
// identity: 'google-docs-signing-key'
// }
// },
{
name: '@electron-forge/maker-deb',
config: {
options: {
name: 'Google Docs',
genericName: 'Google Docs',
productName: 'Google Docs',
description: 'Google Docs Desktop App',
maintainer: 'Tech Fiddle',
homepage: 'https://techfiddle.io',
icon: './assets/icon.png',
depends: [
"libgtk-3-0",
"libnss3",
"libxtst6",
"xdg-utils",
"libatspi2.0-0",
"libuuid1"
],
categories: [
'Graphics',
'Office',
'Utility'
]
}
},
},
{
name: '@electron-forge/maker-flatpak',
config: {
options: {
productName: 'Google Docs',
id: 'io.techfiddle.google-docs',
genericName: 'Google Docs',
icon: './assets/icon.png',
description: 'Google Docs Desktop App',
modules: [
"libgtk-3-0",
"libnss3",
"libxtst6",
"xdg-utils",
"libatspi2.0-0",
"libuuid1"
],
categories: [
'Graphics',
'Office',
'Utility'
]
}
}
},
{
name: '@electron-forge/maker-snap',
config: {
name: 'googledocs',
summary: 'Unofficial Google Docs desktop wrapper',
description: 'Google Docs in a native-like Electron shell with optional offline support.',
grade: 'stable',
confinement: 'strict',
executableName: 'google-docs-linux',
icon: './assets/icon.png',
plugs: [
'desktop',
'desktop-legacy',
'x11',
'wayland',
'unity7',
'browser-support',
'network',
'network-bind',
'pulseaudio'
],
categories: ['Office']
}
},
],
publishers: [
{
name: '@electron-forge/publisher-github',
config: {
draft: true,
authToken: 'GITHUB_TOKEN',
tagPrefix: 'v',
repository: {
owner: 'Comp-Labs',
name: 'Google-Docs'
},
prerelease: false
}
},
{
name: '@electron-forge/publisher-snapcraft',
config: {
release: "latest/stable"
}
},
]
};