mirror of
https://github.com/winapps-org/winapps.git
synced 2025-09-21 00:39:34 +02:00
feat: added powerbi
This commit is contained in:
14
apps/powerbi-store/icon.svg
Normal file
14
apps/powerbi-store/icon.svg
Normal 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
22
apps/powerbi-store/info
Normal 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
14
apps/powerbi/icon.svg
Normal 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
22
apps/powerbi/info
Normal 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"
|
2
setup.sh
2
setup.sh
@@ -1323,7 +1323,7 @@ MimeType=${MIME_TYPES}"
|
|||||||
function waConfigureOfficiallySupported() {
|
function waConfigureOfficiallySupported() {
|
||||||
# Declare variables.
|
# Declare variables.
|
||||||
local OSA_LIST=() # Stores a list of all officially supported applications installed on Windows.
|
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.
|
# 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)
|
readarray -t OSA_LIST < <(grep -v '^[[:space:]]*$' "$INST_FILE_PATH" | sed -e 's/^[[:space:]]*//' -e 's/[[:space:]]*$//' 2>/dev/null || true)
|
||||||
|
Reference in New Issue
Block a user