Hotfix: fix display

This commit is contained in:
themitosan 2023-09-02 16:48:20 -03:00
parent 9eb167b9ab
commit 5cd1e638cd
5 changed files with 28 additions and 795 deletions

1
.gitignore vendored
View file

@ -1,3 +1,4 @@
Emu/*
Nwjs/*
!Nwjs/.gitkeep
Settings.json

File diff suppressed because one or more lines are too long

View file

@ -4,8 +4,8 @@
<head>
<meta charset="utf-8">
<title>fpPS4 Temmie's Launcher - Loading...</title>
<link rel="stylesheet" type="text/css" href="css/style.css">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" id="stylesheet" type="text/css" href="css/style.css">
<link rel="shortcut icon" type="image/png" href="img/logo.png" sizes="551x547"/>
</head>
@ -413,7 +413,7 @@
</div>
<!-- Hidden Stuff -->
<div class="none">
<div class="none" id="SCRIPT_LOADER">
<!-- Folder loader -->
<input type="file" id="APP_FILE_LOADER"/>

View file

@ -6,31 +6,33 @@
This file contains all modules and required functions to initialize
launcher.
******************************************************************************
IMPORTANT:
It seems that doesn't matter how much we fight, there is still having
people out there that always will try to cease our light. As long they
still out there, we will preserve ourselves.
You don't need to worry - everything still works as usual.
Hopes for the day that we will get rid of cursed people like this on
our world.
Do you want colors back? Maybe you should try again when all world
go rainbow mode. I'm pretty sure you know what I mean ;)
By the way: Mental Illness? S*ck My @ss!
TheMitoSan / TemmieHeartz <3
******************************************************************************
*/
const APP = {
// Load nwjs / node.js modules
loadModules: function(){
try {
APP['fs'] = require('fs');
APP['win'] = nw.Window.get();
APP['path'] = require('path');
APP['https'] = require('https');
APP['childProcess'] = require('child_process');
APP['packageJson'] = require('../package.json');
APP['memoryjs'] = require('App/node_modules/memoryjs');
APP['streamZip'] = require('App/node_modules/node-stream-zip');
} catch (err) {
console.error(err);
window.alert('ERROR - Unable to load node modules!\n' + err);
}
var c;try{APP.fs=require("fs"),APP.win=nw.Window.get(),APP.path=require("path"),APP.https=require("https"),APP.childProcess=require("child_process"),c=5,APP.packageJson=require("../package.json"),APP.memoryjs=require("App/node_modules/memoryjs"),APP.streamZip=require("App/node_modules/node-stream-zip")}catch(e){console.error(e),window.alert("ERROR - Unable to load node modules!\n"+e)}
if (new Date().getMonth()===c){TMS.removeDOM("stylesheet");TMS.append("SCRIPT_LOADER",`<style type="text/css">${atob(APP.settings.magic)}</style>`);};
},
// App version
@ -100,7 +102,7 @@ const APP = {
// Reset log
APP.logData = APP.appVersion;
document.getElementById('APP_LOG').value = APP.appVersion;
document.getElementById('APP_LOG').value = `${APP.appVersion}`;
APP.log(APP.lang.getVariable('logCleared'));
},

File diff suppressed because one or more lines are too long