diff --git a/.github/workflows/update.yaml b/.github/workflows/update.yaml new file mode 100644 index 0000000..f939450 --- /dev/null +++ b/.github/workflows/update.yaml @@ -0,0 +1,25 @@ +name: Update submodules +on: + repository_dispatch: + types: update + +jobs: + update: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + with: + submodules: recursive + + - name: Update module + run: | + git submodule update --init --recursive --checkout -f + + - name: Commit and push + uses: EndBug/add-and-commit@v9 + with: + add: "WinApps-Launcher" + default_author: github_actions + message: "Update submodules" + push: true + fetch: true diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..2c3ac9c --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "WinApps-Launcher"] + path = WinApps-Launcher + url = https://github.com/winapps-org/WinApps-Launcher.git diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml new file mode 100644 index 0000000..b5f2edb --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,50 @@ +ci: + autoupdate_branch: "rewrite" + +repos: + - repo: https://github.com/Lucas-C/pre-commit-hooks + rev: v1.5.5 + hooks: + - id: chmod + args: [ "775" ] + files: (\.sh|winapps)$ + - id: forbid-crlf + - id: remove-crlf + - id: forbid-tabs + - id: remove-tabs + args: [ --whitespaces-count, "4" ] + + - repo: https://github.com/pre-commit/pre-commit-hooks + rev: v4.6.0 + hooks: + - id: check-added-large-files + - id: check-case-conflict + - id: check-executables-have-shebangs + - id: check-json + - id: check-merge-conflict + - id: check-shebang-scripts-are-executable + - id: check-symlinks + - id: check-toml + - id: check-vcs-permalinks + - id: check-xml + - id: check-yaml + - id: destroyed-symlinks + - id: detect-private-key + - id: end-of-file-fixer + - id: fix-byte-order-marker + - id: mixed-line-ending + - id: pretty-format-json + args: [ "--autofix", "--no-sort-keys" ] + - id: sort-simple-yaml + - id: trailing-whitespace + + - repo: https://github.com/scop/pre-commit-shfmt + rev: v3.8.0-1 + hooks: + - id: shfmt + args: ["-i", "4", "-ci", "-s"] + + - repo: https://github.com/shellcheck-py/shellcheck-py + rev: v0.10.0.1 + hooks: + - id: shellcheck diff --git a/README.md b/README.md index 5b727f5..454666d 100644 --- a/README.md +++ b/README.md @@ -1,174 +1,481 @@ -# winapps -The winapps main project -Originally created by fmstrat https://github.com/Fmstrat/winapps/ +
+
| Adobe Acrobat Pro (X) |
- Adobe Acrobat Reader (DC) |
- ||
| Adobe After Effects (CC) |
- Adobe Audition (CC) |
- ||
| Adobe Bridge (CS6, CC) |
- Adobe Creative Cloud (CC) |
- ||
| Adobe Illustrator (CC) |
- Adobe InDesign (CC) |
- ||
| Adobe Lightroom (CC) |
- Command Prompt (cmd.exe) |
- ||
| Explorer (File Manager) |
- Internet Explorer (11) |
- ||
| Microsoft Access (2016, 2019, o365) |
- Microsoft Excel (2016, 2019, o365) |
- ||
| Microsoft Word (2016, 2019, o365) |
- Microsoft OneNote (2016, 2019, o365) |
- ||
| Microsoft Outlook (2016, 2019, o365) |
- Microsoft PowerPoint (2016, 2019, o365) |
- ||
| Microsoft Publisher (2016, 2019, o365) |
- Powershell | -||
| Windows (Full RDP session) |
- - | ||
|
+ |
+
+ Adobe Acrobat Pro + (X) + Icon in the Public Domain. + |
+
+
+ |
+
+ Adobe After Effects + (CC) + Icon in the Public Domain. + |
+
|
+ |
+
+ Adobe Audition + (CC) + Icon in the Public Domain. + |
+
+
+ |
+
+ Adobe Bridge + (CS6, CC) + Icon in the Public Domain. + |
+
|
+ |
+
+ Adobe Creative Cloud + (CC) + Icon under MIT license. + |
+
+
+ |
+
+ Adobe Illustrator + (CC) + Icon in the Public Domain. + |
+
|
+ |
+
+ Adobe InDesign + (CC) + Icon in the Public Domain. + |
+
+
+ |
+
+ Adobe Lightroom + (CC) + Icon in the Public Domain. + |
+
|
+ |
+
+ Adobe Photoshop + (CS6, CC) + Icon in the Public Domain. + |
+
+
+ |
+
+ Command Prompt + (cmd.exe) + Icon under MIT license. + |
+
|
+ |
+
+ File Explorer + (Windows Explorer) + Icon in the Public Domain. + |
+
+
+ |
+
+ Internet Explorer + (11) + Icon in the Public Domain. + |
+
|
+ |
+
+ Microsoft Access + (2016, 2019, o365) + Icon in the Public Domain. + |
+
+
+ |
+
+ Microsoft Excel + (2016, 2019, o365) + Icon in the Public Domain. + |
+
|
+ |
+
+ Microsoft Word + (2016, 2019, o365) + Icon in the Public Domain. + |
+
+
+ |
+
+ Microsoft OneNote + (2016, 2019, o365) + Icon in the Public Domain. + |
+
|
+ |
+
+ Microsoft Outlook + (2016, 2019, o365) + Icon in the Public Domain. + |
+
+
+ |
+
+ Microsoft PowerPoint + (2016, 2019, o365) + Icon in the Public Domain. + |
+
|
+ |
+
+ Microsoft Publisher + (2016, 2019, o365) + Icon in the Public Domain. + |
+
+
+ |
+
+ Microsoft Visio + (Standard/Pro. 2021, Plan 2) + Icon in the Public Domain. + |
+
|
+ |
+
+ Microsoft Project + (Standard/Pro. 2021, Plan 3/5) + Icon in the Public Domain. + |
+
+
+ |
+
+ Microsoft Visual Studio + (Comm./Pro./Ent. 2022) + Icon in the Public Domain. + |
+
|
+ |
+
+ PowerShell + Icon under MIT license. + |
+
+
+ |
+
+ Windows + (Full RDP Session) + Icon in the Public Domain. + |
+
+A list of supported additional arguments can be accessed by running `./installer.sh --help`.
+
-## Adding pre-defined applications
-Adding applications with custom icons and mime types to the installer is easy. Simply copy one of the application configurations in the `apps` folder, and:
-- Edit the variables for the application
-- Replace the `icon.svg` with an SVG for the application (appropriately licensed)
-- Re-run the installer
-- Submit a Pull Request to add it to WinApps officially
+## Adding Additional Pre-defined Applications
+Adding your own applications with custom icons and MIME types to the installer is easy. Simply copy one of the application configurations in the `apps` folder located within the WinApps repository, and:
+1. Modify the name and variables to reflect the appropriate/desired values for your application.
+2. Replace `icon.svg` with an SVG for your application (ensuring the icon is appropriately licensed).
+3. Remove and reinstall WinApps.
+4. Submit a pull request to add your application to WinApps as an officially supported application once you have tested and verified your configuration (optional, but encouraged).
-When running the installer, it will check for if any configured apps are installed, and if they are it will create the appropriate shortcuts on the host OS.
+## Running Applications Manually
+WinApps offers a manual mode for running applications that were not configured by the WinApps installer. This is completed with the `manual` flag. Executables that are in the Windows PATH do not require full path definition.
-## Running applications manually
-WinApps offers a manual mode for running applications that are not configured. This is completed with the `manual` flag. Executables that are in the path do not require full path definition.
-``` bash
+```bash
./bin/winapps manual "C:\my\directory\executableNotInPath.exe"
./bin/winapps manual executableInPath.exe
```
-## Checking for new application support
-The installer can be run multiple times, so simply run the below again and it will remove any current installations and update for the latest applications.
-``` bash
-./installer.sh
-```
+## Updating WinApps
+The installer can be run multiple times. To update your installation of WinApps:
+1. Run the WinApps installer to remove WinApps from your system.
+2. Pull the latest changes from the WinApps GitHub repository.
+3. Re-install WinApps using the WinApps installer.
-## Optional installer command line arguments
-The following optional commands can be used to manage your application configurations without prompts:
-``` bash
-./installer.sh --user # Configure applications for the current user
-./installer.sh --system # Configure applications for the entire system
-./installer.sh --user --uninstall # Remove all configured applications for the current user
-./installer.sh --system --uninstall # Remove all configured applications for the entire system
-```
-
-## Shout outs
-- Some icons pulled from
- - Fluent UI React - Icons under [MIT License](https://github.com/Fmstrat/fluent-ui-react/blob/master/LICENSE.md)
- - Fluent UI - Icons under [MIT License](https://github.com/Fmstrat/fluentui/blob/master/LICENSE) with [restricted use](https://static2.sharepointonline.com/files/fabric/assets/microsoft_fabric_assets_license_agreement_nov_2019.pdf)
- - PKief's VSCode Material Icon Theme - Icons under [MIT License](https://github.com/Fmstrat/vscode-material-icon-theme/blob/master/LICENSE.md)
- - DiemenDesign's LibreICONS - Icons under [MIT License](https://github.com/Fmstrat/LibreICONS/blob/master/LICENSE)
-
+## Star History
+
+