Create some files

This commit is contained in:
khai96_
2020-05-08 11:29:39 +07:00
parent a7354264cc
commit cd1794a16e
6 changed files with 65 additions and 0 deletions

View File

@ -0,0 +1,4 @@
import download from 'download'
import url from './url'
export const downloadSelfInstaller = () => download(url)
export default downloadSelfInstaller

View File

@ -0,0 +1,2 @@
export * from './url'
export * from './download'

View File

@ -0,0 +1,3 @@
export const ref = '301414cec74a2b6b63c95b42f2ad1790ccb980ed'
export const url = `https://raw.githubusercontent.com/pnpm/self-installer/${ref}/install.js`
export default url