diff --git a/apps/acrobat9/icon.svg b/apps/acrobat9/icon.svg new file mode 100644 index 0000000..9c971f6 --- /dev/null +++ b/apps/acrobat9/icon.svg @@ -0,0 +1,3 @@ + + + diff --git a/apps/acrobat9/info b/apps/acrobat9/info new file mode 100644 index 0000000..76e8261 --- /dev/null +++ b/apps/acrobat9/info @@ -0,0 +1,14 @@ +# GNOME shortcut name +NAME="Acrobat 9" + +# Used for descriptions and window class +FULL_NAME="Acrobat 9" + +# The executable inside windows +WIN_EXECUTABLE="C:\Program Files (x86)\Adobe\Acrobat 9.0\Acrobat\Acrobat.exe" + +# GNOME categories +CATEGORIES="WinApps;Documents" + +# GNOME mimetypes +MIME_TYPES="application/pdf;" diff --git a/apps/excel-x86-2010/icon.svg b/apps/excel-x86-2010/icon.svg new file mode 100644 index 0000000..55165ee --- /dev/null +++ b/apps/excel-x86-2010/icon.svg @@ -0,0 +1,48 @@ + + + + + + + + + + +]> + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/apps/excel-x86-2010/info b/apps/excel-x86-2010/info new file mode 100644 index 0000000..e027032 --- /dev/null +++ b/apps/excel-x86-2010/info @@ -0,0 +1,14 @@ +# GNOME shortcut name +NAME="Excel" + +# Used for descriptions and window class +FULL_NAME="Microsoft Excel" + +# The executable inside windows +WIN_EXECUTABLE="C:\Program Files (x86)\Microsoft Office\Office14\EXCEL.EXE" + +# GNOME categories +CATEGORIES="WinApps;Office" + +# GNOME mimetypes +MIME_TYPES="application/vnd.ms-excel;application/vnd.openxmlformats-officedocument.spreadsheetml.sheet;application/vnd.openxmlformats-officedocument.spreadsheetml.template;application/vnd.ms-excel.sheet.macroEnabled.12;application/vnd.ms-excel.template.macroEnabled.12;application/vnd.ms-excel.addin.macroEnabled.12;application/vnd.ms-excel.sheet.binary.macroEnabled.12;" diff --git a/apps/mspaint/icon.svg b/apps/mspaint/icon.svg new file mode 100644 index 0000000..428b29b --- /dev/null +++ b/apps/mspaint/icon.svg @@ -0,0 +1,56 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/apps/mspaint/info b/apps/mspaint/info new file mode 100644 index 0000000..f9c91ad --- /dev/null +++ b/apps/mspaint/info @@ -0,0 +1,14 @@ +# GNOME shortcut name +NAME="Paint" + +# Used for descriptions and window class +FULL_NAME="Microsoft Paint" + +# The executable inside windows +WIN_EXECUTABLE="C:\windows\system32\mspaint.exe" + +# GNOME categories +CATEGORIES="WinApps;Graphics" + +# GNOME mimetypes +MIME_TYPES="image/png;image/bmp;image/jpeg;image/jpe;image/jpeg;image/tiff;image/tif;image/x-ms-bmp;image/dib;image/vnd.microsoft.icon;image/x-icon;image/ico;image/icon;text/ico;application/ico" diff --git a/apps/powershell-ide/icon.svg b/apps/powershell-ide/icon.svg new file mode 100644 index 0000000..6e91cf7 --- /dev/null +++ b/apps/powershell-ide/icon.svg @@ -0,0 +1 @@ + diff --git a/apps/powershell-ide/info b/apps/powershell-ide/info new file mode 100644 index 0000000..4eca7c5 --- /dev/null +++ b/apps/powershell-ide/info @@ -0,0 +1,14 @@ +# GNOME shortcut name +NAME="Powershell" + +# Used for descriptions and window class +FULL_NAME="Microsoft Powershell" + +# The executable inside windows +WIN_EXECUTABLE="C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe" + +# GNOME categories +CATEGORIES="WinApps;Windows" + +# GNOME mimetypes +MIME_TYPES="" diff --git a/apps/word-x86-2010/icon.svg b/apps/word-x86-2010/icon.svg new file mode 100644 index 0000000..9b9eb4a --- /dev/null +++ b/apps/word-x86-2010/icon.svg @@ -0,0 +1,50 @@ + + + + + + + + + + +]> + + + + + + + + + + + + + + + + + + + + + + + diff --git a/apps/word-x86-2010/info b/apps/word-x86-2010/info new file mode 100644 index 0000000..70f3881 --- /dev/null +++ b/apps/word-x86-2010/info @@ -0,0 +1,17 @@ +# GNOME shortcut name +NAME="Word" + +# Used for descriptions and window class +FULL_NAME="Microsoft Word" + +# The executable inside windows +WIN_EXECUTABLE="C:\Program Files (x86)\Microsoft Office\Office14\WINWORD.EXE" + +# GNOME categories +CATEGORIES="WinApps;Office" + +# GNOME mimetypes +MIME_TYPES="application/msword;application/vnd.openxmlformats-officedocument.wordprocessingml.document;application/vnd.openxmlformats-officedocument.wordprocessingml.template;application/vnd.ms-word.document.macroEnabled.12;application/vnd.ms-word.template.macroEnabled.12;" + +# System Icon +ICON="ms-word" diff --git a/install/ExtractPrograms.ps1 b/install/ExtractPrograms.ps1 index 12d2c06..fcfbf3d 100644 --- a/install/ExtractPrograms.ps1 +++ b/install/ExtractPrograms.ps1 @@ -329,6 +329,8 @@ Write-Output 'ICONS=()' # Search for installed applications. AppSearchWinReg # Windows Registry -AppSearchUWP # Universal Windows Platform +if (Get-Command Get-AppxPackage -ErrorAction SilentlyContinue){ + AppSearchUWP # Universal Windows Platform +} AppSearchChocolatey # Chocolatey Package Manager AppSearchScoop # Scoop Package Manager diff --git a/setup.sh b/setup.sh index 7b59eaa..2ebbb50 100755 --- a/setup.sh +++ b/setup.sh @@ -38,8 +38,8 @@ readonly SYS_BIN_PATH="/usr/local/bin" # UNIX path to 'bin' dir readonly USER_BIN_PATH="${HOME}/.local/bin" # UNIX path to 'bin' directory for a '--user' WinApps installation. readonly USER_BIN_PATH_WIN='\\tsclient\home\.local\bin' # WINDOWS path to 'bin' directory for a '--user' WinApps installation. # 'SOURCE' -readonly SYS_SOURCE_PATH="${SYS_BIN_PATH}/winapps" # UNIX path to WinApps source directory for a '--system' WinApps installation. -readonly USER_SOURCE_PATH="${USER_BIN_PATH}/winapps" # UNIX path to WinApps source directory for a '--system' WinApps installation. +readonly SYS_SOURCE_PATH="${SYS_BIN_PATH}/winapps-src" # UNIX path to WinApps source directory for a '--system' WinApps installation. +readonly USER_SOURCE_PATH="${USER_BIN_PATH}/winapps-src" # UNIX path to WinApps source directory for a '--system' WinApps installation. # 'APP' readonly SYS_APP_PATH="/usr/share/applications" # UNIX path to 'applications' directory for a '--system' WinApps installation. readonly USER_APP_PATH="${HOME}/.local/share/applications" # UNIX path to 'applications' directory for a '--user' WinApps installation. @@ -1621,8 +1621,8 @@ function waInstall() { waFindInstalled # Install the WinApps bash scripts. - $SUDO ln -s "./bin/winapps" "${BIN_PATH}/winapps" - $SUDO ln -s "./setup.sh" "${BIN_PATH}/winapps-setup" + $SUDO ln -sf "${SOURCE_PATH}/bin/winapps" "${BIN_PATH}/winapps" + $SUDO ln -sf "${SOURCE_PATH}/setup.sh" "${BIN_PATH}/winapps-setup" # Configure the Windows RDP session application launcher. waConfigureWindows