Update install_obsidian.sh
This commit is contained in:
@@ -37,6 +37,9 @@ install_obsidian_windows() {
|
||||
choco install -y wget jq
|
||||
|
||||
wget https://github.com/obsidianmd/obsidian-releases/releases/download/v1.6.3/Obsidian.1.6.3.exe -O ObsidianInstaller.exe
|
||||
|
||||
# Check if the installer was downloaded
|
||||
if [ -f "ObsidianInstaller.exe" ]; then
|
||||
start /wait ObsidianInstaller.exe /S
|
||||
|
||||
# Check if Obsidian was installed and create a symbolic link for testing
|
||||
@@ -46,6 +49,10 @@ install_obsidian_windows() {
|
||||
echo "Obsidian installation failed."
|
||||
exit 1
|
||||
fi
|
||||
else
|
||||
echo "Failed to download Obsidian installer."
|
||||
exit 1
|
||||
fi
|
||||
}
|
||||
|
||||
install_plugins() {
|
||||
|
||||
Reference in New Issue
Block a user