• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

dsccommunity/xFirefox

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称:

dsccommunity/xFirefox

开源软件地址:

https://github.com/dsccommunity/xFirefox

开源编程语言:

PowerShell 100.0%

开源软件介绍:

Build status

xFirefox

The xFirefox module contains the MSFT_xFirefox composite resource which allows you to install the Firefox web browser

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.

Contributing

Please check out common DSC Resources contributing guidelines.

Resources

MSFT_xFirefox

  • Language: Specify the language of the browser to be installed. The default value is English.
  • VersionNumber: Specify the version number of the browser to be installed. By default, the latest version is installed.
  • OS: Specify the operating system on which the browser is to be installed. By default, the operating system is Windows.
  • MachineBits: Specifies the machine's operating system bit number. The default is x86.
  • LocalPath: The local path on the machine where the installation file should be downloaded.

MSFT_xFirefoxPreference

  • PreferenceType: Specify the type of Preference { Pref | lockPref | defaultPref | unlockPref | clearPref } Specifies the preference type of the Firefox Preference to be configured
  • PreferenceName: Specify the name of the Preference. Specifies the name of the Firefox Preference to be configured
  • PreferenceValue: Specify the value of the Preference. Specifies value of the Firefox Preference to be configured
  • InstallDirectory: Specifies the location where Mozilla Firefox is installed. Specifies the directory where Firefox is installed

Versions

Unreleased

1.3.0.0

  • Update appveyor.yml to use the default template.
  • Added default template files .codecov.yml, .gitattributes, and .gitignore, and .vscode folder.
  • The module manifest now contains the correct PowerShell version.
  • Added xFirefoxPreference Resource to automate Firefox Preference Configuration

1.2.0.0

  • Added logic to download installer with correct machine bits
  • Added dependency on xPSDesiredStateConfiguration

1.1.0.0

  • Updated MFST_xFireFox to pull latest version by default and use HTTPS

1.0.0.0

  • Initial release with the following resources
    • MSFT_xFirefox

Examples

Install the Firefox browser

Configuration Sample_InstallFirefoxBrowser
{
    param
    (

    [Parameter(Mandatory)]
    $VersionNumber,

    [Parameter(Mandatory)]
    $Language,

    [Parameter(Mandatory)]
    $OS,

    [Parameter(Mandatory)]
    $LocalPath

    )

    Import-DscResource -module xFirefox

    MSFT_xFirefox Firefox
    {
    VersionNumber = $VersionNumber
    Language = $Language
    OS = $OS
    LocalPath = $LocalPath
    }
}



鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
dkthehuman/extension-starter-kit: Starter kit for building Chrome/Firefox extens ...发布时间:2022-05-13
下一篇:
jiacai2050/history-master: 发布时间:2022-05-13
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap