Skip to content

Commit c106819

Browse files
committed
Commit inicial local
0 parents  commit c106819

File tree

10 files changed

+4867
-0
lines changed

10 files changed

+4867
-0
lines changed

.gitignore

Lines changed: 138 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,138 @@
1+
# Logs
2+
logs
3+
*.log
4+
npm-debug.log*
5+
yarn-debug.log*
6+
yarn-error.log*
7+
lerna-debug.log*
8+
.pnpm-debug.log*
9+
10+
# Diagnostic reports (https://nodejs.org/api/report.html)
11+
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
12+
13+
# Runtime data
14+
pids
15+
*.pid
16+
*.seed
17+
*.pid.lock
18+
19+
# Directory for instrumented libs generated by jscoverage/JSCover
20+
lib-cov
21+
22+
# Coverage directory used by tools like istanbul
23+
coverage
24+
*.lcov
25+
26+
# nyc test coverage
27+
.nyc_output
28+
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+
35+
# node-waf configuration
36+
.lock-wscript
37+
38+
# Compiled binary addons (https://nodejs.org/api/addons.html)
39+
build/Release
40+
41+
# Dependency directories
42+
node_modules/
43+
jspm_packages/
44+
45+
# Snowpack dependency directory (https://snowpack.dev/)
46+
web_modules/
47+
48+
# TypeScript cache
49+
*.tsbuildinfo
50+
51+
# Optional npm cache directory
52+
.npm
53+
54+
# Optional eslint cache
55+
.eslintcache
56+
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+
66+
# Optional REPL history
67+
.node_repl_history
68+
69+
# Output of 'npm pack'
70+
*.tgz
71+
72+
# Yarn Integrity file
73+
.yarn-integrity
74+
75+
# dotenv environment variable files
76+
.env.development.local
77+
.env.test.local
78+
.env.production.local
79+
.env.local
80+
81+
# parcel-bundler cache (https://parceljs.org/)
82+
.cache
83+
.parcel-cache
84+
85+
# Next.js build output
86+
.next
87+
out
88+
89+
# Nuxt.js build / generate output
90+
.nuxt
91+
dist
92+
93+
# Gatsby files
94+
.cache/
95+
# Comment in the public line in if your project uses Gatsby and not Next.js
96+
# https://nextjs.org/blog/next-9-1#public-directory-support
97+
# public
98+
99+
# vuepress build output
100+
.vuepress/dist
101+
102+
# vuepress v2.x temp and cache directory
103+
.temp
104+
.cache
105+
106+
# vitepress build output
107+
**/.vitepress/dist
108+
109+
# vitepress cache directory
110+
**/.vitepress/cache
111+
112+
# Docusaurus cache and generated files
113+
.docusaurus
114+
115+
# Serverless directories
116+
.serverless/
117+
118+
# FuseBox cache
119+
.fusebox/
120+
121+
# DynamoDB Local files
122+
.dynamodb/
123+
124+
# TernJS port file
125+
.tern-port
126+
127+
# Stores VSCode versions used for testing VSCode extensions
128+
.vscode-test
129+
130+
# yarn v2
131+
.yarn/cache
132+
.yarn/unplugged
133+
.yarn/build-state.yml
134+
.yarn/install-state.gz
135+
.pnp.*
136+
137+
138+
.env

README.md

Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
# GHZHost Desktop App
2+
3+
Um aplicativo desktop elegante e moderno para acessar os serviços da GHZHost.
4+
5+
## Características
6+
7+
- Interface moderna e responsiva
8+
- Navegação por abas para diferentes serviços
9+
- Animações suaves e efeitos visuais
10+
- Indicador de status de conexão
11+
- Tela de splash durante o carregamento
12+
- Partículas animadas no background
13+
14+
## Serviços Integrados
15+
16+
- Home GHZHost
17+
- MCP (Minecraft Control Panel)
18+
- GCP (Game Control Panel)
19+
- WCP (Web Control Panel)
20+
21+
## Tecnologias Utilizadas
22+
23+
- Electron
24+
- HTML5
25+
- CSS3
26+
- JavaScript
27+
- Canvas para animações
28+
29+
## Requisitos
30+
31+
- Node.js
32+
- npm
33+
34+
## Instalação
35+
36+
1. Clone o repositório:
37+
```bash
38+
git clone https://github.com/ghzhost/Electron_Desktop
39+
```
40+
41+
2. Instale as dependências:
42+
```bash
43+
npm install
44+
```
45+
46+
3. Execute o aplicativo:
47+
```bash
48+
npm start
49+
```
50+
51+
## Desenvolvimento
52+
53+
Para iniciar o aplicativo em modo de desenvolvimento:
54+
55+
```bash
56+
npm start
57+
```
58+
59+
## Build
60+
61+
Para criar uma build do aplicativo:
62+
63+
```bash
64+
npm run build
65+
```
66+
67+
## Licença
68+
69+
ISC
70+
71+
## Autor
72+
73+
GHZHost Team

index.html

Lines changed: 139 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,139 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
<title>.:: GhzhHost Desktop APP ::.</title>
5+
<style>
6+
body {
7+
margin: 0;
8+
padding: 0;
9+
font-family: Arial, sans-serif;
10+
background-color: #001d3a;
11+
height: 100vh;
12+
display: flex;
13+
flex-direction: column;
14+
overflow: hidden;
15+
}
16+
#particles-canvas {
17+
position: fixed;
18+
top: 0;
19+
left: 0;
20+
width: 100%;
21+
height: 100%;
22+
z-index: 0;
23+
background-color: #000a20;
24+
}
25+
.content-container {
26+
flex: 1;
27+
background-color: #000a20;
28+
position: relative;
29+
z-index: 1;
30+
}
31+
.loading-overlay {
32+
position: absolute;
33+
top: 0;
34+
left: 0;
35+
width: 100%;
36+
height: 100%;
37+
display: flex;
38+
justify-content: center;
39+
align-items: center;
40+
background-color: #000a20;
41+
z-index: 2;
42+
}
43+
.loading-container {
44+
text-align: center;
45+
position: relative;
46+
}
47+
.loading-logo {
48+
width: 200px;
49+
height: auto;
50+
margin-bottom: 20px;
51+
}
52+
.loading-text {
53+
color: #00b2e8;
54+
font-size: 18px;
55+
margin-top: 20px;
56+
}
57+
</style>
58+
</head>
59+
<body>
60+
<canvas id="particles-canvas"></canvas>
61+
<div class="content-container" id="contentContainer">
62+
<div class="loading-overlay" id="loadingOverlay">
63+
<div class="loading-container">
64+
<img src="https://ghzhost.com/assets/img/logo.png" alt="GHZHost Logo" class="loading-logo">
65+
<div class="loading-text">Carregando...</div>
66+
</div>
67+
</div>
68+
</div>
69+
70+
<script>
71+
// Particle animation code
72+
const canvas = document.getElementById('particles-canvas');
73+
const ctx = canvas.getContext('2d');
74+
75+
// Set canvas size
76+
function resizeCanvas() {
77+
canvas.width = window.innerWidth;
78+
canvas.height = window.innerHeight;
79+
}
80+
resizeCanvas();
81+
window.addEventListener('resize', resizeCanvas);
82+
83+
// Particle animation
84+
const particles = [];
85+
const particleCount = 50;
86+
87+
class Particle {
88+
constructor() {
89+
this.x = Math.random() * canvas.width;
90+
this.y = Math.random() * canvas.height;
91+
this.size = Math.random() * 2 + 1;
92+
this.speedX = Math.random() * 2 - 1;
93+
this.speedY = Math.random() * 2 - 1;
94+
}
95+
96+
update() {
97+
this.x += this.speedX;
98+
this.y += this.speedY;
99+
100+
if (this.x > canvas.width) this.x = 0;
101+
if (this.x < 0) this.x = canvas.width;
102+
if (this.y > canvas.height) this.y = 0;
103+
if (this.y < 0) this.y = canvas.height;
104+
}
105+
106+
draw() {
107+
ctx.fillStyle = '#00b2e8';
108+
ctx.beginPath();
109+
ctx.arc(this.x, this.y, this.size, 0, Math.PI * 2);
110+
ctx.fill();
111+
}
112+
}
113+
114+
// Create particles
115+
for (let i = 0; i < particleCount; i++) {
116+
particles.push(new Particle());
117+
}
118+
119+
// Animation loop
120+
function animate() {
121+
ctx.clearRect(0, 0, canvas.width, canvas.height);
122+
123+
particles.forEach(particle => {
124+
particle.update();
125+
particle.draw();
126+
});
127+
128+
requestAnimationFrame(animate);
129+
}
130+
131+
animate();
132+
133+
// Listen for view loaded event
134+
window.electronAPI.onViewLoaded(() => {
135+
document.getElementById('loadingOverlay').style.display = 'none';
136+
});
137+
</script>
138+
</body>
139+
</html>

launcher_log.json

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
[
2+
{
3+
"timestamp": "2025-06-06T01:12:29.057Z",
4+
"event": "launcher_start",
5+
"version": "1.0.0",
6+
"platform": "win32",
7+
"arch": "x64"
8+
},
9+
{
10+
"timestamp": "2025-06-06T01:13:27.719Z",
11+
"event": "launcher_start",
12+
"version": "1.0.0",
13+
"platform": "win32",
14+
"arch": "x64"
15+
},
16+
{
17+
"timestamp": "2025-06-06T01:14:12.777Z",
18+
"event": "launcher_start",
19+
"version": "1.0.0",
20+
"platform": "win32",
21+
"arch": "x64"
22+
},
23+
{
24+
"timestamp": "2025-06-06T01:52:44.158Z",
25+
"event": "launcher_start",
26+
"version": "1.0.0",
27+
"platform": "win32",
28+
"arch": "x64"
29+
},
30+
{
31+
"timestamp": "2025-06-06T01:54:33.816Z",
32+
"event": "launcher_start",
33+
"version": "1.0.0",
34+
"platform": "win32",
35+
"arch": "x64"
36+
}
37+
]

logo.png

34.4 KB
Loading

0 commit comments

Comments
 (0)