為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Firefox extensions source code

  • 2 回覆
  • 0 有這個問題
  • 7 次檢視
  • 最近回覆由 gabozxc

more options

I am working on the Firefox source code and I want to make sure that when I distribute the compiled version, the user profile that opens in the browser is the same as the one found in a specific location in the source code(obj-x86_64-pc-windows-msvc\tmp\profile-default) . How can I make sure that the user profile that opens in the distributed Firefox contains the same extensions and settings as the user profile stored in the source code

Additional details: I am on windows 10

I am working on the Firefox source code and I want to make sure that when I distribute the compiled version, the user profile that opens in the browser is the same as the one found in a specific location in the source code(obj-x86_64-pc-windows-msvc\tmp\profile-default) . How can I make sure that the user profile that opens in the distributed Firefox contains the same extensions and settings as the user profile stored in the source code Additional details: I am on windows 10

所有回覆 (2)

more options

Hi there! It's great that you're working on the Firefox source code. To ensure that the distributed Firefox contains the same extensions and settings as the user profile stored in the source code, you can follow these steps:

Locate the Firefox user profile folder on your Windows 10 system. The default location is usually C:\Users\<your_username>\AppData\Roaming\Mozilla\Firefox\Profiles.

Copy the entire profile folder (obj-x86_64-pc-windows-msvc\tmp\profile-default) from the source code to the above-mentioned user profile folder.

When you distribute the compiled version of Firefox, make sure to include the copied profile folder in the distribution package.

By including the specific user profile in the distribution package, users who install and run the compiled version of Firefox will have the same extensions and settings as the user profile stored in the source code.

If users already have an existing Firefox profile, they may need to back up their current profile or manually merge the contents with the distributed profile to avoid conflicts or data loss.

I hope this helps! Let me know if you have any further questions or need additional assistance.

more options

Hi suram, thanks for replying

In the compiled distribution package that I generate with the ./mach package how do I include the profile folder(obj-x86_64-pc-windows-msvc\tmp\profile-default)?