Updated dependencies (delete node_modules, npm install), included windows page script, changed to ejs (for now), initial work on the new design.
This commit is contained in:
42
app/assets/css/launcher.css
Normal file
42
app/assets/css/launcher.css
Normal file
@@ -0,0 +1,42 @@
|
||||
/* Reset body, html, and div presets. */
|
||||
body, html, div {
|
||||
margin: 0px;
|
||||
padding: 0px;
|
||||
}
|
||||
|
||||
body {
|
||||
background: url('./../images/backgrounds/0.jpg') no-repeat center center fixed;
|
||||
background-size: cover;
|
||||
}
|
||||
|
||||
#frame_bar {
|
||||
-webkit-app-region: drag;
|
||||
background: rgba(1, 2, 1, 0.5);
|
||||
min-height: 22px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
#button_dock {
|
||||
margin-left: 2px;
|
||||
}
|
||||
|
||||
.frame_button {
|
||||
height: 12px;
|
||||
width: 12px;
|
||||
border-radius: 50%;
|
||||
border: 0px;
|
||||
margin-left: 5px;
|
||||
}
|
||||
|
||||
#frame_button_close {
|
||||
background-color: #e74c32;
|
||||
}
|
||||
|
||||
#frame_button_restoredown {
|
||||
background-color: #fed045;
|
||||
}
|
||||
|
||||
#frame_button_minimize {
|
||||
background-color: #96e734;
|
||||
}
|
||||
BIN
app/assets/images/backgrounds/0.jpg
Normal file
BIN
app/assets/images/backgrounds/0.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 160 KiB |
BIN
app/assets/images/backgrounds/1.jpg
Normal file
BIN
app/assets/images/backgrounds/1.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 181 KiB |
BIN
app/assets/images/backgrounds/2.jpg
Normal file
BIN
app/assets/images/backgrounds/2.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 969 KiB |
BIN
app/assets/images/backgrounds/3.jpg
Normal file
BIN
app/assets/images/backgrounds/3.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.0 MiB |
BIN
app/assets/images/backgrounds/4.jpg
Normal file
BIN
app/assets/images/backgrounds/4.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 268 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 1012 KiB |
@@ -8,7 +8,7 @@ const fs = require('fs')
|
||||
const mkpath = require('mkdirp');
|
||||
|
||||
function launchMinecraft(versionData, forgeData, basePath){
|
||||
const authPromise = mojang.auth('nytrocraft@live.com', 'applesrsogood123', uuidV4(), {
|
||||
const authPromise = mojang.auth('email', 'pass', uuidV4(), {
|
||||
name: 'Minecraft',
|
||||
version: 1
|
||||
})
|
||||
|
||||
@@ -51,7 +51,7 @@ $(document).on('click', 'a[href^="http"]', function(event) {
|
||||
|
||||
testdownloads = async function(){
|
||||
const lp = require(path.join(__dirname, 'assets', 'js', 'launchprocess.js'))
|
||||
const basePath = path.join(__dirname, '..', 'mcfiles')
|
||||
const basePath = path.join(__dirname, '..', 'target', 'test', 'mcfiles')
|
||||
let versionData = await ag.loadVersionData('1.11.2', basePath)
|
||||
await ag.validateAssets(versionData, basePath)
|
||||
console.log('assets done')
|
||||
|
||||
Reference in New Issue
Block a user