feat: added powerbi

This commit is contained in:
Matheus Neto Melo
2025-08-30 06:18:54 +00:00
parent 0ef690635f
commit 2e0f059868
5 changed files with 73 additions and 1 deletions

View File

@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg">
<title>Power BI Logo</title>
<defs>
<linearGradient id="gradient1" x1="0%" y1="0%" x2="100%" y2="100%">
<stop offset="0%" style="stop-color:#F2C94C"/>
<stop offset="100%" style="stop-color:#F2994A"/>
</linearGradient>
</defs>
<rect x="10" y="30" width="15" height="60" fill="url(#gradient1)" rx="2"/>
<rect x="30" y="20" width="15" height="70" fill="url(#gradient1)" rx="2"/>
<rect x="50" y="10" width="15" height="80" fill="url(#gradient1)" rx="2"/>
<rect x="70" y="25" width="15" height="65" fill="url(#gradient1)" rx="2"/>
</svg>

After

Width:  |  Height:  |  Size: 694 B

22
apps/powerbi-store/info Normal file
View File

@@ -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"

14
apps/powerbi/icon.svg Normal file
View File

@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg">
<title>Power BI Logo</title>
<defs>
<linearGradient id="gradient1" x1="0%" y1="0%" x2="100%" y2="100%">
<stop offset="0%" style="stop-color:#F2C94C"/>
<stop offset="100%" style="stop-color:#F2994A"/>
</linearGradient>
</defs>
<rect x="10" y="30" width="15" height="60" fill="url(#gradient1)" rx="2"/>
<rect x="30" y="20" width="15" height="70" fill="url(#gradient1)" rx="2"/>
<rect x="50" y="10" width="15" height="80" fill="url(#gradient1)" rx="2"/>
<rect x="70" y="25" width="15" height="65" fill="url(#gradient1)" rx="2"/>
</svg>

After

Width:  |  Height:  |  Size: 694 B

22
apps/powerbi/info Normal file
View File

@@ -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"

View File

@@ -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)