From 2e0f059868e1f5025efc9069c07f080e062dee67 Mon Sep 17 00:00:00 2001 From: Matheus Neto Melo <53451932+matheusmelo18@users.noreply.github.com> Date: Sat, 30 Aug 2025 06:18:54 +0000 Subject: [PATCH] feat: added powerbi --- apps/powerbi-store/icon.svg | 14 ++++++++++++++ apps/powerbi-store/info | 22 ++++++++++++++++++++++ apps/powerbi/icon.svg | 14 ++++++++++++++ apps/powerbi/info | 22 ++++++++++++++++++++++ setup.sh | 2 +- 5 files changed, 73 insertions(+), 1 deletion(-) create mode 100644 apps/powerbi-store/icon.svg create mode 100644 apps/powerbi-store/info create mode 100644 apps/powerbi/icon.svg create mode 100644 apps/powerbi/info diff --git a/apps/powerbi-store/icon.svg b/apps/powerbi-store/icon.svg new file mode 100644 index 0000000..233efce --- /dev/null +++ b/apps/powerbi-store/icon.svg @@ -0,0 +1,14 @@ + + + Power BI Logo + + + + + + + + + + + diff --git a/apps/powerbi-store/info b/apps/powerbi-store/info new file mode 100644 index 0000000..f6af087 --- /dev/null +++ b/apps/powerbi-store/info @@ -0,0 +1,22 @@ +# Copyright (c) 2024 Fmstrat +# All rights reserved. +# +# SPDX-License-Identifier: Proprietary + +# GNOME shortcut name +NAME="Power BI Desktop (Microsoft Store)" + +# Used for descriptions and window class +FULL_NAME="Microsoft Power BI Desktop (Store Version)" + +# The executable inside windows +WIN_EXECUTABLE="C:\Users\%USERNAME%\AppData\Local\Microsoft\WindowsApps\PBIDesktop.exe" + +# GNOME categories +CATEGORIES="WinApps;Office" + +# GNOME mimetypes +MIME_TYPES="application/x-powerbi;application/vnd.ms-powerbi;application/powerbi;application/x-pbix;application/vnd.powerbi.pbix" + +# System Icon +ICON="ms-powerbi" diff --git a/apps/powerbi/icon.svg b/apps/powerbi/icon.svg new file mode 100644 index 0000000..233efce --- /dev/null +++ b/apps/powerbi/icon.svg @@ -0,0 +1,14 @@ + + + Power BI Logo + + + + + + + + + + + diff --git a/apps/powerbi/info b/apps/powerbi/info new file mode 100644 index 0000000..081592c --- /dev/null +++ b/apps/powerbi/info @@ -0,0 +1,22 @@ +# Copyright (c) 2024 Fmstrat +# All rights reserved. +# +# SPDX-License-Identifier: Proprietary + +# GNOME shortcut name +NAME="Power BI Desktop (Traditional)" + +# Used for descriptions and window class +FULL_NAME="Microsoft Power BI Desktop" + +# The executable inside windows +WIN_EXECUTABLE="C:\Program Files\Microsoft Power BI Desktop\bin\PBIDesktop.exe" + +# GNOME categories +CATEGORIES="WinApps;Office" + +# GNOME mimetypes +MIME_TYPES="application/x-powerbi;application/vnd.ms-powerbi;application/powerbi;application/x-pbix;application/vnd.powerbi.pbix" + +# System Icon +ICON="ms-powerbi" diff --git a/setup.sh b/setup.sh index d514bcc..8cd9ee1 100755 --- a/setup.sh +++ b/setup.sh @@ -1323,7 +1323,7 @@ MimeType=${MIME_TYPES}" function waConfigureOfficiallySupported() { # Declare variables. local OSA_LIST=() # Stores a list of all officially supported applications installed on Windows. - local OFFICE_APPS=("access" "access-o365" "access-o365-x86" "access-x86" "adobe-cc" "acrobat9" "acrobat-x-pro" "aftereffects-cc" "audition-cc" "bridge-cc" "bridge-cc-x86" "bridge-cs6" "bridge-cs6-x86" "cmd" "dymo-connect" "excel" "excel-o365" "excel-o365-x86" "excel-x86" "excel-x86-2010" "explorer" "iexplorer" "illustrator-cc" "lightroom-cc" "linqpad8" "mirc" "mspaint" "onenote" "onenote-o365" "onenote-o365-x86" "onenote-x86" "outlook" "outlook-o365" "outlook-o365-x86" "powerpoint" "powerpoint-o365" "powerpoint-o365-x86" "powerpoint-x86" "publisher" "publisher-o365" "publisher-o365-x86" "publisher-x86" "project" "project-x86" "remarkable-desktop" "ssms20" "visual-studio-comm" "visual-studio-ent" "visual-studio-pro" "visio" "visio-x86" "word" "word-o365" "word-o365-x86" "word-x86" "word-x86-2010") + local OFFICE_APPS=("access" "access-o365" "access-o365-x86" "access-x86" "adobe-cc" "acrobat9" "acrobat-x-pro" "aftereffects-cc" "audition-cc" "bridge-cc" "bridge-cc-x86" "bridge-cs6" "bridge-cs6-x86" "cmd" "dymo-connect" "excel" "excel-o365" "excel-o365-x86" "excel-x86" "excel-x86-2010" "explorer" "iexplorer" "illustrator-cc" "lightroom-cc" "linqpad8" "mirc" "mspaint" "onenote" "onenote-o365" "onenote-o365-x86" "onenote-x86" "outlook" "outlook-o365" "outlook-o365-x86" "powerbi" "powerbi-store" "powerpoint" "powerpoint-o365" "powerpoint-o365-x86" "powerpoint-x86" "publisher" "publisher-o365" "publisher-o365-x86" "publisher-x86" "project" "project-x86" "remarkable-desktop" "ssms20" "visual-studio-comm" "visual-studio-ent" "visual-studio-pro" "visio" "visio-x86" "word" "word-o365" "word-o365-x86" "word-x86" "word-x86-2010") # Read the list of officially supported applications that are installed on Windows into an array, returning an empty array if no such files exist. readarray -t OSA_LIST < <(grep -v '^[[:space:]]*$' "$INST_FILE_PATH" | sed -e 's/^[[:space:]]*//' -e 's/[[:space:]]*$//' 2>/dev/null || true)