Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version 1.0.0 #3

Open
wants to merge 26 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
node_modules
node_modules/**/*
dist
.vscode
HomeSYS-*
.DS_Store
minecraft*
13 changes: 11 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,11 @@
# App
React Native
<h1> HomeSYS App</h1>

<p>
<img align="left" src="https://github.com/lucsoft-DevTeam/logos/raw/master/HomeSYS/[email protected]?raw=true" width="30%">

The App lets youre Control Everything its needed to Manage youre Offline and Online System. It does nothing except Control everything with a nice GUI powered by <a href="https://github.com/lucsoft/WebGen">@lucsoft/WebGen</a>

<a href="https://github.com/lucsoft-DevTeam/App"><h3>View Source Code</h3></a>

<a href="https://beta.hmsys.de"><h3>Show Website</h3></a>
</p>
3 changes: 3 additions & 0 deletions declarations.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@

declare module '*.png';
declare module '*.svg';
78 changes: 78 additions & 0 deletions eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
{
"parserOptions": {
"ecmaVersion": 11,
"sourceType": "script",
"ecmaFeatures": {
"impliedStrict": true
}
},
"rules": {
"constructor-super": 2,
"for-direction": 2,
"getter-return": 2,
"no-async-promise-executor": 2,
"no-case-declarations": 2,
"no-class-assign": 2,
"no-compare-neg-zero": 2,
"no-cond-assign": 2,
"no-const-assign": 2,
"no-constant-condition": 2,
"no-control-regex": 2,
"no-debugger": 2,
"no-delete-var": 2,
"no-dupe-args": 2,
"no-dupe-class-members": 2,
"no-dupe-keys": 2,
"no-duplicate-case": 2,
"no-empty": 2,
"no-empty-character-class": 2,
"no-empty-pattern": 2,
"no-ex-assign": 2,
"no-extra-boolean-cast": 2,
"no-extra-semi": 2,
"no-fallthrough": 2,
"no-func-assign": 2,
"no-global-assign": 2,
"no-inner-declarations": 2,
"no-invalid-regexp": 2,
"no-irregular-whitespace": 2,
"no-misleading-character-class": 2,
"no-mixed-spaces-and-tabs": 2,
"no-new-symbol": 2,
"no-obj-calls": 2,
"no-octal": 2,
"no-prototype-builtins": 2,
"no-redeclare": 2,
"no-regex-spaces": 2,
"no-self-assign": 2,
"no-shadow-restricted-names": 2,
"no-sparse-arrays": 2,
"no-this-before-super": 2,
"no-undef": 2,
"no-unexpected-multiline": 2,
"no-unreachable": 2,
"no-unsafe-finally": 2,
"no-unsafe-negation": 2,
"no-unused-labels": 2,
"no-unused-vars": 2,
"no-useless-catch": 2,
"no-useless-escape": 2,
"no-with": 2,
"require-atomic-updates": 2,
"require-yield": 2,
"use-isnan": 2,
"valid-typeof": 2,
"radix": 2,
"require-await": 2,
"no-console": 2,
"no-proto": 2,
"no-process-exit": 2,
"no-process-env": 2,
"eqeqeq": 2,
"no-implied-eval": 2,
"no-var": 2,
"indent": 2,
"no-alert": 2
},
"env": {}
}
28 changes: 28 additions & 0 deletions main.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
const { app, BrowserWindow } = require('electron')
function createWindow()
{

const mainWindow = new BrowserWindow({
width: 1200,
height: 700,
icon: __dirname + '/res/AppIcon.icns',
title: 'HomeSYS',
webPreferences: {
nodeIntegration: true,
webSecurity: false
}
})
mainWindow.webContents.on('did-finish-load', () => {
mainWindow.webContents.send('message', 'Hello second window!');
});
if (process.argv[ 2 ] === "--dev")
{
mainWindow.loadURL(`http://localhost:8080`);
}
else
mainWindow.loadFile(`./dist/index.html`)

}
app.name = 'HomeSYS';
app.allowRendererProcessReuse = true;
app.on('ready', createWindow)
Loading