Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add install script #2

Closed
wants to merge 1 commit into from
Closed

feat: Add install script #2

wants to merge 1 commit into from

Conversation

sempasha
Copy link
Contributor

Installation script requested in Zonnev/elementaryos-firefox-theme#196 is here!
Please test it before merge:

bash <(wget --quiet --output-document - "https://raw.githubusercontent.com/sempasha/elementaryos-thunderbird-theme/main/install.sh")

And later after merge:

bash <(wget --quiet --output-document - "https://raw.githubusercontent.com/Zonnev/elementaryos-thunderbird-theme/main/install.sh")

@Zonnev
Copy link
Owner

Zonnev commented Aug 25, 2023

Hi @sempasha Thank you for making this script! Only one thing happened with the flatpak version of Thunderbird: the script downloaded flatpak.css, but it doesn't exist in the repository. The script is supposed to download an userChrome and base.css also for the flatpak version of Thunderbird (the same as other versions of Thunderbird). Hope you can adjust that, many thanks! :)

@Zonnev
Copy link
Owner

Zonnev commented Aug 25, 2023

Sorry for this late reaction, but one more thing I noticed is that in the flatpak installation it doesn't install in the right folder. The right folder is a <profilenumber>.default-release folder, not a <profilenumber>.default folder. Can you look at that issue too? Thank you!

@Zonnev Zonnev closed this Aug 30, 2023
@Zonnev
Copy link
Owner

Zonnev commented Sep 29, 2023

Hi @sempasha, this is the output of the script on my pc. I think you can see the script does find two Flatpak profiles but only installs in one (at the end).

So there are two issues:

  1. The script should install a base.css and an userChrome.css (from the window controls folders) for Flatpak profiles.
  2. The script should install in all Flatpak profiles.

I still hope you can solve these issues!

🐦 Thunderbird Elementary Theme installation

🔍 Searching for application profiles:
  ✅ Found 🐦 Thunderbird profiles:
    📁 ~/.thunderbird/dqzdpvjr.default-release-1
    📁 ~/.thunderbird/xwpbrlqc.default-beta
    📁 ~/.thunderbird/etfcvz4u.default
    📁 ~/.thunderbird/1xg6lw3m.default-release
  ✅ Found 🐦 Thunderbird (📦 Flatpak) profiles:
    📁 ~/.var/app/org.mozilla.Thunderbird/.thunderbird/enbkmhsc.default
    📁 ~/.var/app/org.mozilla.Thunderbird/.thunderbird/3m7e610l.default-release

🔧 Installing theme at 🐦 Thunderbird profile 📁 ~/.thunderbird/dqzdpvjr.default-release-1
  ⬇️  Downloading base.css (https://raw.githubusercontent.com/Zonnev/elementaryos-thunderbird-theme/main/base.css)
  ⬇️  Downloading userChrome.css (https://raw.githubusercontent.com/Zonnev/elementaryos-thunderbird-theme/main/Elementary/userChrome.css)

🔧 Installing theme at 🐦 Thunderbird profile 📁 ~/.thunderbird/xwpbrlqc.default-beta
  ⬇️  Downloading base.css (https://raw.githubusercontent.com/Zonnev/elementaryos-thunderbird-theme/main/base.css)
  ⬇️  Downloading userChrome.css (https://raw.githubusercontent.com/Zonnev/elementaryos-thunderbird-theme/main/Elementary/userChrome.css)

🔧 Installing theme at 🐦 Thunderbird profile 📁 ~/.thunderbird/etfcvz4u.default
  ⬇️  Downloading base.css (https://raw.githubusercontent.com/Zonnev/elementaryos-thunderbird-theme/main/base.css)
  ⬇️  Downloading userChrome.css (https://raw.githubusercontent.com/Zonnev/elementaryos-thunderbird-theme/main/Elementary/userChrome.css)

🔧 Installing theme at 🐦 Thunderbird profile 📁 ~/.thunderbird/1xg6lw3m.default-release
  ⬇️  Downloading base.css (https://raw.githubusercontent.com/Zonnev/elementaryos-thunderbird-theme/main/base.css)
  ⬇️  Downloading userChrome.css (https://raw.githubusercontent.com/Zonnev/elementaryos-thunderbird-theme/main/Elementary/userChrome.css)

🔧 Installing theme at 🐦 Thunderbird (📦 Flatpak) profile 📁 ~/.var/app/org.mozilla.Thunderbird/.thunderbird/enbkmhsc.default
  ⬇️  Downloading base.css (https://raw.githubusercontent.com/Zonnev/elementaryos-thunderbird-theme/main/base.css)
  ⬇️  Downloading flatpak.css (https://raw.githubusercontent.com/Zonnev/elementaryos-thunderbird-theme/main/flatpak.css)

@sempasha sempasha mentioned this pull request Oct 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants