diff --git a/README.md b/README.md index 52ed7bc..e3ba185 100644 --- a/README.md +++ b/README.md @@ -43,7 +43,7 @@ - [📸 Ubuntu Preview](#-ubuntu-preview) - [💻 Developing Locally](#-developing-locally) - [📃 MIT License](#-mit-license) - - [*Disclaimer: Not affiliated with Microsoft*](#disclaimer-not-affiliated-with-microsoft) + - [*Disclaimer: Not affiliated with Microsoft. Office, the name, website, images/icons are the intellectual properties of Microsoft.*](#disclaimer-not-affiliated-with-microsoft-office-the-name-website-imagesicons-are-the-intellectual-properties-of-microsoft) # Introduction @@ -172,4 +172,4 @@ To build the app, run `yarn dist` # 📃 MIT License -#### *Disclaimer: Not affiliated with Microsoft* +#### *Disclaimer: Not affiliated with Microsoft. Office, the name, website, images/icons are the intellectual properties of Microsoft.* \ No newline at end of file diff --git a/assets/icons/download-fail.png b/assets/icons/download-fail.png new file mode 100644 index 0000000..ea7df3e Binary files /dev/null and b/assets/icons/download-fail.png differ diff --git a/assets/icons/download-success.png b/assets/icons/download-success.png new file mode 100644 index 0000000..118f65e Binary files /dev/null and b/assets/icons/download-success.png differ diff --git a/assets/icons/download.png b/assets/icons/download.png new file mode 100644 index 0000000..d538f87 Binary files /dev/null and b/assets/icons/download.png differ diff --git a/icon.icns b/assets/icons/icon.icns similarity index 100% rename from icon.icns rename to assets/icons/icon.icns diff --git a/icon.ico b/assets/icons/icon.ico similarity index 100% rename from icon.ico rename to assets/icons/icon.ico diff --git a/icon.png b/assets/icons/icon.png similarity index 100% rename from icon.png rename to assets/icons/icon.png diff --git a/build.sh b/build.sh index ebece2a..94e14f0 100644 --- a/build.sh +++ b/build.sh @@ -1,4 +1,5 @@ #!/bin/bash +# This script helps you to start/build the MS-Office-Electron app if ! [ -x "$(command -v node)" ]; then echo 'Error: nodejs is not installed.' >&2 echo 'Installing nodejs now; this may take a while.' @@ -153,7 +154,7 @@ else echo 'Please install git manually.' fi fi - git clone --depth=1 https://github.com/agam778/MS-Office-Electron; cd MS-Office-Electron + git clone --depth=1 https://github.com/agam778/MS-Office-Electron; cd MS-Office-Electron || echo "Failed to change directory." && return 1 echo 'Cloned the repository' fi @@ -171,10 +172,10 @@ echo '1. Run the app' echo '2. Build the app' echo '3. Exit' echo 'Enter your choice:'; read choice; -if [ $choice -eq 1 ]; then +if [ "$choice" -eq "1" ]; then echo 'Running the app...' yarn start - elif [ $choice -eq 2 ]; then + elif [ "$choice" -eq "2" ]; then echo 'Building the app...' if [ "$(id -u)" != "0" ]; then if [ "$(uname -m)" == "arm64" ]; then @@ -189,7 +190,7 @@ if [ $choice -eq 1 ]; then yarn dist --x64 fi fi - elif [ $choice -eq 3 ]; then + elif [ "$choice" -eq "3" ]; then echo 'Exiting...' exit 1 fi diff --git a/MSlogo.svg b/docs/loading/MSlogo.svg similarity index 100% rename from MSlogo.svg rename to docs/loading/MSlogo.svg diff --git a/docs/loading/index.html b/docs/loading/index.html index 2eeedfa..3d0e1d1 100644 --- a/docs/loading/index.html +++ b/docs/loading/index.html @@ -15,9 +15,7 @@