Giter Site home page Giter Site logo

Installation problems about sweet-pop HOT 3 CLOSED

proxzima avatar proxzima commented on May 28, 2024
Installation problems

from sweet-pop.

Comments (3)

PROxZIMA avatar PROxZIMA commented on May 28, 2024

Can you post your profiles.ini file please?

As you can see here if -p argument is not provided then the script tries to extract the profile folder name from profiles.ini.

if [ -z "$PROFILENAME" ]; then
PROFILEFOLDER="${FIREFOXFOLDER}/$(grep 'Default=' $PROFILES_FILE | sed 's/^Default=//')"
else
PROFILEFOLDER="${FIREFOXFOLDER}/${PROFILENAME}"
fi

In-short

$ grep 'Default=' $PROFILES_FILE | sed 's/^Default=//'

is the catch here. I'm still looking for a proper reliable way to get the default profile folder as profiles.ini's content vary from one platform to other or from one Firefox version to other.

In my case profiles.ini looks something like this. That's why above command works.

[Install4F96D1932A9F858E]
Default=1yrah0xg.default-release
Locked=1

from sweet-pop.

PROxZIMA avatar PROxZIMA commented on May 28, 2024

Other than that small issue I think this is a really great project. Thank you and keep up the good work.

Thank you for the kind words 🙌

from sweet-pop.

Siarune avatar Siarune commented on May 28, 2024

You're welcome

My profile.ini is at ~/.mozilla/firefox/profiles.ini. Not sure if Flatpak makes a difference in that.

[Profile1]
Name=default
IsRelative=1
Path=gx2dqpwy.default
Default=1

[Profile0]
Name=default-release
IsRelative=1
Path=25xn6287.default-release

[General]
StartWithLastProfile=1
Version=2

[Install11457493C5A56847]
Default=25xn6287.default-release
Locked=1

It does find the profile0 path from the default, but something is still throwing an error as above.
I did end up using the -p argument to manually set the path and it worked fine after.

from sweet-pop.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.