From 333e57785bac862716dabe60e4e4cefc199ddbbb Mon Sep 17 00:00:00 2001 From: Steve Zabka <79079633+cryinkfly@users.noreply.github.com> Date: Mon, 23 May 2022 07:19:11 +0200 Subject: [PATCH] Create uninstall.sh --- files/builds/development-branch/uninstall.sh | 25 ++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 files/builds/development-branch/uninstall.sh diff --git a/files/builds/development-branch/uninstall.sh b/files/builds/development-branch/uninstall.sh new file mode 100644 index 0000000..eee3048 --- /dev/null +++ b/files/builds/development-branch/uninstall.sh @@ -0,0 +1,25 @@ +#!/bin/bash + +################################################################################ +# Name: Autodesk Fusion 360 - Uninstall the software (Linux) # +# Description: With this file you delete Autodesk Fusion 360 on your system. # +# Author: Steve Zabka # +# Author URI: https://cryinkfly.com # +# License: MIT # +# Copyright (c) 2020-2022 # +# Time/Date: 07:00/23.05.2022 # +# Version: 0.7 -> 0.8 # +################################################################################ + +# Path: /$HOME/.fusion360/bin/uninstall.sh + +############################################################################################################################################################### +# THE INITIALIZATION OF DEPENDENCIES STARTS HERE: # +############################################################################################################################################################### + +# Get a file where the user can see the exits Wineprefixes of Autodesk Fusion 360 on the system. +function DL_WINEPREFIXES_GET_INFO { + mkdir -p "/tmp/fusion360/logs" + cp "$HOME/.fusion360/logs/wineprefixes.log" "/tmp/fusion360/logs" + DL_WINEPREFIXES_INFO=`cat /tmp/fusion360/logs/wineprefixes.log | awk 'NR == 1'` +}