-
-
Notifications
You must be signed in to change notification settings - Fork 436
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- migrate from vuejs2 to vuejs 3 - migrate from webpack to vite - add vuex base - and etc.
- Loading branch information
Showing
23 changed files
with
1,410 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# Logs | ||
logs | ||
*.log | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
pnpm-debug.log* | ||
lerna-debug.log* | ||
|
||
node_modules | ||
dist | ||
dist-ssr | ||
dist-electron | ||
release | ||
*.local | ||
|
||
# Editor directories and files | ||
.vscode/.debug.env | ||
.idea | ||
.DS_Store | ||
*.suo | ||
*.ntvs* | ||
*.njsproj | ||
*.sln | ||
*.sw? | ||
|
||
# lockfile | ||
package-lock.json | ||
pnpm-lock.yaml | ||
yarn.lock |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
## 2022-02-23 | ||
|
||
[v1.1.0](https://github.com/4xmen/anubias) | ||
|
||
- add live tie | ||
- fix some bugs | ||
|
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,122 @@ | ||
<h1 align="center"> | ||
<br> | ||
<a href="https://anubias.app/"> | ||
<img src="public/icon.png" alt="Anubias" width="150"> | ||
</a> | ||
<br> | ||
<a href="https://anubias.app">Anubias Desktop</a> | ||
<br> | ||
<hr> | ||
</h1> | ||
|
||
<div align="center"> | ||
|
||
[](https://snapcraft.io/anubias) | ||
|
||
</div> | ||
|
||
# Anubias-Desktop | ||
|
||
Anubias is project help you to make your mobile apps so easy and native with GUI : ) | ||
|
||
|
||
# Demo | ||
|
||
<div align="center"> | ||
<h2>Free Templates</h2> | ||
<img src="public/screen-shots/sc1.png" width="500px"> | ||
</div> | ||
<div align="center"> | ||
<h2>Easy To Use</h2> | ||
<img src="public/screen-shots/sc2.png" width="500px"> | ||
</div> | ||
<div align="center"> | ||
<h2>Compile Fast</h2> | ||
<img src="public/screen-shots/sc4.png" width="500px"> | ||
</div> | ||
|
||
# Downloads | ||
The latest version is available for | ||
|
||
* [Windows](https://anubias.app/dl/wini) ([portable](https://anubias.app/dl/winp)) | ||
* [macOS](https://anubias.app/dl/mac) | ||
* [Linux](https://anubias.app/dl/linux) | ||
* [WebApp](https://anubias.app/demo) | ||
|
||
|
||
## 🔗 Links | ||
https://anubias.app/ | ||
<br> | ||
http://4xmen.ir/ | ||
<br> | ||
https://xstack.ir | ||
|
||
|
||
## Features | ||
|
||
* 📱 Mobile Apps ( Develop your app for : Andriod , IOS ) | ||
* 🖥️ Desktop Apps ( Develop your app for : Windows , Linux , MacOSX ) | ||
* 🌐 Web applications ( Develop your web app ) | ||
* 👉 GUI ( GUI drag and drop component ) | ||
* 👨💻 xScript ( xScript code look like javascript ) | ||
* 💯 Free ( Totally Free ) | ||
|
||
|
||
|
||
## Linux Installation | ||
|
||
Install form linux Snapcraft Store | ||
|
||
```bash | ||
snap install anubias --classic | ||
``` | ||
|
||
## Report Some Bugs | ||
Find a Bug? Please, [create an issue](https://github.com/4xmen/Anubias-Desktop/issues) and we'll fix it together for a better template. | ||
|
||
## Contribution | ||
Contribution are always welcome and recommended! Here is how: | ||
|
||
- Fork the repository ([here is the guide](https://help.github.com/articles/fork-a-repo/)). | ||
- Clone to your machine git clone https://github.com/YOUR_USERNAME/Anubias-Desktop.git | ||
- Make your changes | ||
- Create a pull request | ||
|
||
## Badges | ||
|
||
<div align="center"> | ||
|
||
[](https://anubias.app/) | ||
[](https://GitHub.com/4xmen) | ||
[](https://xstack.ir) | ||
[](https://4xmen.ir) | ||
[](https://Telegram.me/Devefun) | ||
|
||
</div> | ||
|
||
## Developing Languages | ||
|
||
<div align="center"> | ||
|
||
[](https://www.javascript.com/) | ||
[](https://vuejs.org/) | ||
[](https://webpack.js.org/) | ||
[](https://eslint.org/) | ||
[](https://www.electronjs.org/) | ||
|
||
</div> | ||
|
||
## License | ||
|
||
[](https://opensource.org/licenses/GNU) | ||
|
||
|
||
|
||
[GPL](https://www.gnu.org/licenses/gpl-3.0.en.html) | ||
|
||
|
||
## Support | ||
|
||
[](https://www.paypal.me/swepc) | ||
|
||
<div align="center"> Developed With Love ! ❤️</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
/** | ||
* @see https://www.electron.build/configuration/configuration | ||
*/ | ||
{ | ||
"appId": "YourAppID", | ||
"asar": true, | ||
"icon": "public/favicon.ico", | ||
"directories": { | ||
"output": "release/${version}" | ||
}, | ||
"files": [ | ||
"dist-electron", | ||
"dist" | ||
], | ||
"mac": { | ||
"artifactName": "${productName}_${version}.${ext}", | ||
"target": [ | ||
"dmg" | ||
] | ||
}, | ||
"win": { | ||
"target": [ | ||
{ | ||
"target": "nsis", | ||
"arch": [ | ||
"x64" | ||
] | ||
} | ||
], | ||
"artifactName": "${productName}_${version}.${ext}" | ||
}, | ||
"nsis": { | ||
"oneClick": false, | ||
"perMachine": false, | ||
"allowToChangeInstallationDirectory": true, | ||
"deleteAppDataOnUninstall": false | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
/// <reference types="vite-plugin-electron/electron-env" /> | ||
|
||
declare namespace NodeJS { | ||
interface ProcessEnv { | ||
VSCODE_DEBUG?: 'true' | ||
DIST_ELECTRON: string | ||
DIST: string | ||
/** /dist/ or /public/ */ | ||
PUBLIC: string | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
import { MenuItemConstructorOptions } from 'electron'; | ||
class AppMenu{ | ||
private win: any; | ||
|
||
constructor(win) { | ||
this.win = win; | ||
} | ||
|
||
menu() : MenuItemConstructorOptions[] { | ||
return [ | ||
{ | ||
label: "&File", | ||
submenu: [ | ||
{ | ||
label: "Create new project", | ||
accelerator: 'CommandOrControl+N' | ||
} | ||
] | ||
}, | ||
{ | ||
label: "&Edit", | ||
submenu: [ | ||
{ label: '&Undo', accelerator: 'CommandOrControl+Z'}, | ||
{ label: '&Redo', accelerator: 'CommandOrControl+Y' }, | ||
{ type: 'separator' }, | ||
{ label: 'C&ut', accelerator: 'CommandOrControl+X' }, | ||
{ label: '&Copy', accelerator: 'CommandOrControl+C'}, | ||
{ label: '&Paste', accelerator: 'CommandOrControl+V'}, | ||
// { | ||
// label: 'Select All', | ||
// accelerator: 'CommandOrControl+A', | ||
// selector: 'selectAll:', | ||
// }, | ||
], | ||
}, | ||
{ | ||
label: "&View", | ||
submenu: [ | ||
{ | ||
label: 'Toggle &Full Screen', | ||
accelerator: 'F11', | ||
click: () => { | ||
this.win.setFullScreen(!this.win.isFullScreen()); | ||
}, | ||
}, | ||
{ | ||
label: 'Toggle &Dev tools', | ||
accelerator: 'F12', | ||
click: () => { | ||
this.win.webContents.toggleDevTools(); | ||
}, | ||
}, | ||
] | ||
} | ||
]; | ||
} | ||
} | ||
|
||
export {AppMenu}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
const config = { | ||
isDebug: false, | ||
} | ||
|
||
export {config}; |
Oops, something went wrong.