我想知道是否可以使用 homebrew 來取得 inkscape 的測試版。我知道我可以用它來獲取他們的當前版本,brew cask install inkscape
但是有什麼方法可以獲取他們的測試版嗎?
先致謝
答案1
您可以執行brew cask edit inkscape
編輯安裝 Inkscape 的公式。
例如,最新版本可在以下位置找到:
http://alpha.inkscape.org/prereleases/Inkscape-latest.dmg
因此,將文件的內容替換為:
cask 'inkscape' do
version :latest
sha256 :no_check
url "http://alpha.inkscape.org/prereleases/Inkscape-latest.dmg"
name 'Inkscape'
homepage 'https://inkscape.org/'
depends_on x11: true
app 'Inkscape.app'
binary "#{appdir}/Inkscape.app/Contents/Resources/bin/inkscape"
zap trash: '~/.inkscape-etc'
end
儲存並運行brew cask install inkscape
。
「最新」版本所需的具體變更是:latest
關鍵字。此外,您也跳過了校驗和驗證:no_check
。因此,請小心您下載的內容。