tibia/templates/android/tibia-index.js

11 lines
521 B
JavaScript
Raw Normal View History

2024-01-23 08:22:00 +00:00
var path = require("path");
var sep = path.sep;
module.exports = function (data, api) {
api.generateFileFromTemplateFile(`data${sep}AndroidManifest.xml`, `data${sep}AndroidManifest.xml`, data);
2024-01-23 14:18:39 +00:00
api.generateFileFromTemplateFile(`src${sep}data.h`, `src${sep}data.h`, data);
api.copyFile(`src${sep}jni.cpp`, `src${sep}jni.cpp`);
2024-01-23 08:22:00 +00:00
api.generateFileFromTemplateFile(`src${sep}MainActivity.java`, `src${sep}MainActivity.java`, data);
2024-01-23 09:39:30 +00:00
api.generateFileFromTemplateFile(`src${sep}index.html`, `src${sep}index.html`, data);
2024-01-23 08:22:00 +00:00
};