Drop emf feature
This commit is contained in:
parent
f71885f89e
commit
c1c879e54a
@ -1,24 +0,0 @@
|
|||||||
const { emf } = require('../util/constants.json'),
|
|
||||||
merge = require('../../util/merge')
|
|
||||||
|
|
||||||
class Opener {
|
|
||||||
constructor() {
|
|
||||||
this.name = emf.id
|
|
||||||
this.silent = true
|
|
||||||
this.categories = emf.categories
|
|
||||||
this.accept = emf.ext
|
|
||||||
|
|
||||||
this.exec = (url, context) => {
|
|
||||||
console.log(url, context)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
patchSystem() {
|
|
||||||
// Import to prevent race conditions
|
|
||||||
const { _get } = window.le
|
|
||||||
|
|
||||||
window.le._get = merge(_get, emf.filetypePatch)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
module.exports = Opener
|
|
@ -4,11 +4,6 @@
|
|||||||
"categories": "Game",
|
"categories": "Game",
|
||||||
"version": "0.1.0b"
|
"version": "0.1.0b"
|
||||||
},
|
},
|
||||||
"emf": {
|
|
||||||
"id": "emf",
|
|
||||||
"ext": ".emf",
|
|
||||||
"categories": "Utility"
|
|
||||||
},
|
|
||||||
"paths": {
|
"paths": {
|
||||||
"modPath": "/a/.config/xash/mods/",
|
"modPath": "/a/.config/xash/mods/",
|
||||||
"saves": "/a/.config/xash/saves/"
|
"saves": "/a/.config/xash/saves/"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user