Initial Release for Gitadora Extension

* Converted from Asphyxia-Public-Route
* Enable `resolveJsonModule` in `tsconfig.json`
* WebUI for change name and title.
This commit is contained in:
DitFranXX
2020-12-11 16:48:02 +09:00
parent cd8995d2e6
commit e27221d19d
20 changed files with 1626 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
export const isGF = (info: EamuseInfo) => {
return info.model.split(':')[2] == 'A';
};
export const isDM = (info: EamuseInfo) => {
return info.model.split(':')[2] == 'B';
};
export const getVersion = (info: EamuseInfo) => {
const moduleName: string = info.module;
return moduleName.match(/([^_]*)_(.*)/)[1];
};