Skip to content

Commit

Permalink
- removed simulation (doesnt make any sense),
Browse files Browse the repository at this point in the history
- added github jobs to create executables (testing mode)
  • Loading branch information
HardMax71 committed Aug 28, 2024
1 parent 54fd3bc commit 8b9ace4
Show file tree
Hide file tree
Showing 7 changed files with 78 additions and 58 deletions.
77 changes: 77 additions & 0 deletions .github/workflows/build-desktop-app.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
name: Build Desktop App

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
build-windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.9'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r desktop_app/requirements.txt
pip install pyinstaller
- name: Build with PyInstaller
run: |
cd desktop_app
pyinstaller --onefile --windowed main.py
- name: Upload artifact
uses: actions/upload-artifact@v2
with:
name: NexusWare-Windows
path: desktop_app/dist/main.exe

build-macos:
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.9'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r desktop_app/requirements.txt
pip install pyinstaller
- name: Build with PyInstaller
run: |
cd desktop_app
pyinstaller --onefile --windowed main.py
- name: Upload artifact
uses: actions/upload-artifact@v2
with:
name: NexusWare-macOS
path: desktop_app/dist/main

build-linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.9'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r desktop_app/requirements.txt
pip install pyinstaller
- name: Build with PyInstaller
run: |
cd desktop_app
pyinstaller --onefile --windowed main.py
- name: Upload artifact
uses: actions/upload-artifact@v2
with:
name: NexusWare-Linux
path: desktop_app/dist/main
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ across mobile, web, and desktop environments.
| Barcode and Label Design | - | - ||
| Advanced Search and Filter | - |||
| System Diagnostics | - | - ||
| Simulation and Modeling | - | - ||
| Training Mode | - | - ||
| Customization Tools | - | - ||

Expand Down
Empty file removed desktop_app/__init__.py
Empty file.
2 changes: 0 additions & 2 deletions desktop_app/src/ui/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
from .report_generator import ReportGeneratorWidget
from .search_filter import AdvancedSearchDialog
from .settings.system_diagnostics import SystemDiagnosticsWidget
from .simulation_view import SimulationView
from .training_mode import TrainingModeManager
from .views.auth import LoginDialog
from .views.customers import CustomerDialog, CustomerDetailsDialog, CustomerView
Expand Down Expand Up @@ -36,7 +35,6 @@
"BatchProcessorWidget",
"BarcodeDesignerWidget",
"SystemDiagnosticsWidget",
"SimulationView",
"AdvancedSearchDialog",
"TrainingModeManager",
"OfflineModeWidget",
Expand Down
55 changes: 0 additions & 55 deletions desktop_app/src/ui/simulation_view.py

This file was deleted.

1 change: 1 addition & 0 deletions public_api/permissions/permission_enums.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,4 @@ class PermissionName(str, Enum):
NOTIFICATIONS = "Notifications"
TASKS_MANAGEMENT = "Tasks Management"
ADVANCED_SEARCH = "Advanced Search"
SIMULATION = "Simulation"
Binary file modified server/nexusware.db
Binary file not shown.

0 comments on commit 8b9ace4

Please sign in to comment.