Skip to content

Commit 7cf40e6

Browse files
committed
Release 0.2.1
1 parent f2e4e1b commit 7cf40e6

30 files changed

+19940
-61
lines changed

.gitignore

+14-51
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ npm-debug.log*
55
yarn-debug.log*
66
yarn-error.log*
77
lerna-debug.log*
8-
.pnpm-debug.log*
98

109
# Diagnostic reports (https://nodejs.org/api/report.html)
1110
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
@@ -15,6 +14,7 @@ pids
1514
*.pid
1615
*.seed
1716
*.pid.lock
17+
.DS_Store
1818

1919
# Directory for instrumented libs generated by jscoverage/JSCover
2020
lib-cov
@@ -26,12 +26,6 @@ coverage
2626
# nyc test coverage
2727
.nyc_output
2828

29-
# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
30-
.grunt
31-
32-
# Bower dependency directory (https://bower.io/)
33-
bower_components
34-
3529
# node-waf configuration
3630
.lock-wscript
3731

@@ -42,8 +36,8 @@ build/Release
4236
node_modules/
4337
jspm_packages/
4438

45-
# Snowpack dependency directory (https://snowpack.dev/)
46-
web_modules/
39+
# TypeScript v1 declaration files
40+
typings/
4741

4842
# TypeScript cache
4943
*.tsbuildinfo
@@ -54,15 +48,6 @@ web_modules/
5448
# Optional eslint cache
5549
.eslintcache
5650

57-
# Optional stylelint cache
58-
.stylelintcache
59-
60-
# Microbundle cache
61-
.rpt2_cache/
62-
.rts2_cache_cjs/
63-
.rts2_cache_es/
64-
.rts2_cache_umd/
65-
6651
# Optional REPL history
6752
.node_repl_history
6853

@@ -72,41 +57,22 @@ web_modules/
7257
# Yarn Integrity file
7358
.yarn-integrity
7459

75-
# dotenv environment variable files
60+
# dotenv environment variables file
7661
.env
77-
.env.development.local
78-
.env.test.local
79-
.env.production.local
80-
.env.local
62+
.env.test
8163

8264
# parcel-bundler cache (https://parceljs.org/)
8365
.cache
84-
.parcel-cache
8566

86-
# Next.js build output
67+
# next.js build output
8768
.next
88-
out
8969

90-
# Nuxt.js build / generate output
70+
# nuxt.js build output
9171
.nuxt
92-
dist
93-
94-
# Gatsby files
95-
.cache/
96-
# Comment in the public line in if your project uses Gatsby and not Next.js
97-
# https://nextjs.org/blog/next-9-1#public-directory-support
98-
# public
9972

10073
# vuepress build output
10174
.vuepress/dist
10275

103-
# vuepress v2.x temp and cache directory
104-
.temp
105-
.cache
106-
107-
# Docusaurus cache and generated files
108-
.docusaurus
109-
11076
# Serverless directories
11177
.serverless/
11278

@@ -116,15 +82,12 @@ dist
11682
# DynamoDB Local files
11783
.dynamodb/
11884

119-
# TernJS port file
120-
.tern-port
85+
# Webpack
86+
.webpack/
12187

122-
# Stores VSCode versions used for testing VSCode extensions
123-
.vscode-test
88+
# Vite
89+
.vite/
12490

125-
# yarn v2
126-
.yarn/cache
127-
.yarn/unplugged
128-
.yarn/build-state.yml
129-
.yarn/install-state.gz
130-
.pnp.*
91+
# Electron-Forge
92+
out/
93+
publish.bat

SERVERLIST.json

-10
Original file line numberDiff line numberDiff line change
@@ -1,10 +0,0 @@
1-
{
2-
"servers": [
3-
{
4-
"id": "51.255.30.119:27015",
5-
"hostname": "[EU] .:MAPEADORES:. | ZOMBIE ESCAPE",
6-
"ip": "51.255.30.119:27015",
7-
"fastdl": "http://fastdl.mapeadores.com/cs2/"
8-
}
9-
]
10-
}

forge.config.js

+85
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,85 @@
1+
module.exports = {
2+
packagerConfig: {
3+
asar: true,
4+
icon: './src/assets/images/icon.ico'
5+
},
6+
rebuildConfig: {},
7+
makers: [
8+
{
9+
name: '@electron-forge/maker-squirrel',
10+
config: {
11+
// An URL to an ICO file to use as the application icon (displayed in Control Panel > Programs and Features).
12+
icon: './src/assets/images/icon.ico',
13+
// The ICO file to use as the icon for the generated Setup.exe
14+
setupIcon: './src/assets/images/icon.ico',
15+
},
16+
},
17+
{
18+
name: '@electron-forge/maker-zip',
19+
platforms: ['darwin'],
20+
},
21+
{
22+
name: '@electron-forge/maker-deb',
23+
config: {},
24+
},
25+
{
26+
name: '@electron-forge/maker-rpm',
27+
config: {},
28+
},
29+
],
30+
plugins: [
31+
{
32+
name: '@electron-forge/plugin-auto-unpack-natives',
33+
config: {},
34+
},
35+
{
36+
name: '@electron-forge/plugin-webpack',
37+
config: {
38+
devContentSecurityPolicy: `default-src * self blob: data: gap:; style-src * self 'unsafe-inline' blob: data: gap:; script-src * 'self' 'unsafe-eval' 'unsafe-inline' blob: data: gap:; object-src * 'self' blob: data: gap:; img-src * self 'unsafe-inline' blob: data: gap:; connect-src self * 'unsafe-inline' blob: data: gap:; frame-src * self blob: data: gap:;`,
39+
mainConfig: './webpack.main.config.js',
40+
renderer: {
41+
config: './webpack.renderer.config.js',
42+
entryPoints: [
43+
{
44+
html: './src/index.html',
45+
js: './src/renderer.js',
46+
name: 'main_window',
47+
preload: {
48+
js: './src/preload.js',
49+
},
50+
},
51+
{
52+
html: './src/templates/settings.html',
53+
js: './src/assets/js/settings.renderer.js',
54+
name: 'settings_window',
55+
preload: {
56+
js: './src/assets/js/settings.preload.js',
57+
},
58+
},
59+
{
60+
html: './src/templates/serverInfo.html',
61+
js: './src/assets/js/serverInfo.renderer.js',
62+
name: 'server_info_window',
63+
preload: {
64+
js: './src/assets/js/serverInfo.preload.js',
65+
},
66+
},
67+
],
68+
},
69+
},
70+
},
71+
],
72+
publishers: [
73+
{
74+
name: '@electron-forge/publisher-github',
75+
config: {
76+
repository: {
77+
owner: 'CS2Browser',
78+
name: 'Launcher'
79+
},
80+
prerelease: false,
81+
draft: false
82+
}
83+
}
84+
]
85+
};

0 commit comments

Comments
 (0)