mirror of
https://github.com/winapps-org/winapps.git
synced 2025-06-04 06:07:19 +02:00
fix: make patches apply
This commit is contained in:
parent
5831696ead
commit
290226aec7
@ -13,7 +13,13 @@ jobs:
|
|||||||
|
|
||||||
- name: Update module
|
- name: Update module
|
||||||
run: |
|
run: |
|
||||||
git submodule update --init --recursive --checkout -f
|
pushd WinApps-Launcher
|
||||||
|
branch=$(git rev-parse --abbrev-ref origin/HEAD | sed "s|origin/||")
|
||||||
|
git config remote.origin.fetch "+refs/heads/$branch:refs/remotes/origin/$branch"
|
||||||
|
git fetch --depth=1 origin "refs/heads/$branch"
|
||||||
|
popd
|
||||||
|
|
||||||
|
git submodule update --init --remote WinApps-Launcher
|
||||||
|
|
||||||
- name: Commit and push
|
- name: Commit and push
|
||||||
uses: EndBug/add-and-commit@v9
|
uses: EndBug/add-and-commit@v9
|
@ -1 +1 @@
|
|||||||
Subproject commit eaa660d39bf3f49b136c98c87c35e3e12f118f8f
|
Subproject commit ae1a9e9ea7c958255905cfd056196b3bdc4aad45
|
@ -29,10 +29,10 @@ stdenv.mkDerivation rec {
|
|||||||
(callPackage ../winapps { })
|
(callPackage ../winapps { })
|
||||||
];
|
];
|
||||||
|
|
||||||
patches = [ ./WinAppsLauncher.patch ];
|
patches = [ ./WinApps-Launcher.patch ];
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteAllInPlace WinAppsLauncher.sh
|
substituteAllInPlace WinApps-Launcher.sh
|
||||||
'';
|
'';
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
@ -41,7 +41,7 @@ stdenv.mkDerivation rec {
|
|||||||
mkdir -p $out
|
mkdir -p $out
|
||||||
cp -r ./Icons $out/Icons
|
cp -r ./Icons $out/Icons
|
||||||
|
|
||||||
install -m755 -D WinAppsLauncher.sh $out/bin/winapps-launcher
|
install -m755 -D WinApps-Launcher.sh $out/bin/winapps-launcher
|
||||||
install -Dm444 -T Icons/AppIcon.svg $out/share/pixmaps/winapps.svg
|
install -Dm444 -T Icons/AppIcon.svg $out/share/pixmaps/winapps.svg
|
||||||
|
|
||||||
wrapProgram $out/bin/winapps-launcher \
|
wrapProgram $out/bin/winapps-launcher \
|
||||||
|
@ -22,27 +22,6 @@ index b7d930d6..18000c65 100755
|
|||||||
|
|
||||||
# REMOTE DESKTOP CONFIGURATION
|
# REMOTE DESKTOP CONFIGURATION
|
||||||
readonly VM_NAME="RDPWindows" # Name of the Windows VM (FOR 'libvirt' ONLY).
|
readonly VM_NAME="RDPWindows" # Name of the Windows VM (FOR 'libvirt' ONLY).
|
||||||
@@ -130,13 +130,13 @@ function waTerminateScript() {
|
|
||||||
# Role: Displays usage information for the script.
|
|
||||||
function waUsage() {
|
|
||||||
echo -e "Usage:
|
|
||||||
- ${COMMAND_TEXT}./setup.sh --user${CLEAR_TEXT} # Install WinApps and selected applications in ${HOME}
|
|
||||||
- ${COMMAND_TEXT}./setup.sh --system${CLEAR_TEXT} # Install WinApps and selected applications in /usr
|
|
||||||
- ${COMMAND_TEXT}./setup.sh --user --setupAllOfficiallySupportedApps${CLEAR_TEXT} # Install WinApps and all officially supported applications in ${HOME}
|
|
||||||
- ${COMMAND_TEXT}./setup.sh --system --setupAllOfficiallySupportedApps${CLEAR_TEXT} # Install WinApps and all officially supported applications in /usr
|
|
||||||
- ${COMMAND_TEXT}./setup.sh --user --uninstall${CLEAR_TEXT} # Uninstall everything in ${HOME}
|
|
||||||
- ${COMMAND_TEXT}./setup.sh --system --uninstall${CLEAR_TEXT} # Uninstall everything in /usr
|
|
||||||
- ${COMMAND_TEXT}./setup.sh --help${CLEAR_TEXT} # Display this usage message."
|
|
||||||
+ ${COMMAND_TEXT}winapps-setup --user${CLEAR_TEXT} # Install WinApps and selected applications in ${HOME}
|
|
||||||
+ ${COMMAND_TEXT}winapps-setup --system${CLEAR_TEXT} # Install WinApps and selected applications in /usr
|
|
||||||
+ ${COMMAND_TEXT}winapps-setup --user --setupAllOfficiallySupportedApps${CLEAR_TEXT} # Install WinApps and all officially supported applications in ${HOME}
|
|
||||||
+ ${COMMAND_TEXT}winapps-setup --system --setupAllOfficiallySupportedApps${CLEAR_TEXT} # Install WinApps and all officially supported applications in /usr
|
|
||||||
+ ${COMMAND_TEXT}winapps-setup --user --uninstall${CLEAR_TEXT} # Uninstall everything in ${HOME}
|
|
||||||
+ ${COMMAND_TEXT}winapps-setup --system --uninstall${CLEAR_TEXT} # Uninstall everything in /usr
|
|
||||||
+ ${COMMAND_TEXT}winapps-setup --help${CLEAR_TEXT} # Display this usage message."
|
|
||||||
}
|
|
||||||
|
|
||||||
# Name: 'waGetSourceCode'
|
|
||||||
@@ -155,13 +155,6 @@ function waGetSourceCode() {
|
@@ -155,13 +155,6 @@ function waGetSourceCode() {
|
||||||
echo -e "${WARNING_TEXT}[WARNING]${CLEAR_TEXT} You might want to remove your old installation on '${SCRIPT_DIR_PATH}'."
|
echo -e "${WARNING_TEXT}[WARNING]${CLEAR_TEXT} You might want to remove your old installation on '${SCRIPT_DIR_PATH}'."
|
||||||
fi
|
fi
|
||||||
@ -80,24 +59,6 @@ index b7d930d6..18000c65 100755
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Name: 'waCheckInput'
|
# Name: 'waCheckInput'
|
||||||
@@ -390,7 +370,7 @@ function waCheckExistingInstall() {
|
|
||||||
|
|
||||||
# Display the suggested action(s).
|
|
||||||
echo "--------------------------------------------------------------------------------"
|
|
||||||
- echo -e "Please remove the existing WinApps installation using ${COMMAND_TEXT}./setup.sh --user --uninstall${CLEAR_TEXT}."
|
|
||||||
+ echo -e "Please remove the existing WinApps installation using ${COMMAND_TEXT}winapps-setup --user --uninstall${CLEAR_TEXT}."
|
|
||||||
echo "--------------------------------------------------------------------------------"
|
|
||||||
|
|
||||||
# Terminate the script.
|
|
||||||
@@ -410,7 +390,7 @@ function waCheckExistingInstall() {
|
|
||||||
|
|
||||||
# Display the suggested action(s).
|
|
||||||
echo "--------------------------------------------------------------------------------"
|
|
||||||
- echo -e "Please remove the existing WinApps installation using ${COMMAND_TEXT}./setup.sh --system --uninstall${CLEAR_TEXT}."
|
|
||||||
+ echo -e "Please remove the existing WinApps installation using ${COMMAND_TEXT}winapps-setup --system --uninstall${CLEAR_TEXT}."
|
|
||||||
echo "--------------------------------------------------------------------------------"
|
|
||||||
|
|
||||||
# Terminate the script.
|
|
||||||
@@ -805,7 +785,7 @@ function waCheckGroupMembership() {
|
@@ -805,7 +785,7 @@ function waCheckGroupMembership() {
|
||||||
# Identify groups the current user belongs to.
|
# Identify groups the current user belongs to.
|
||||||
USER_GROUPS=$(groups "$(whoami)")
|
USER_GROUPS=$(groups "$(whoami)")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user