mirror of
https://github.com/antos-rde/antosdk-apps.git
synced 2025-07-24 17:59:47 +02:00
update compatibility to AntOS next
This commit is contained in:
@ -1,2 +1,5 @@
|
||||
# DiffEditor
|
||||
View and edit files in diff mode
|
||||
|
||||
## Change logs
|
||||
- Add dependencies
|
||||
|
82
DiffEditor/build.json
Normal file
82
DiffEditor/build.json
Normal file
@ -0,0 +1,82 @@
|
||||
{
|
||||
"name": "DiffEditor",
|
||||
"targets": {
|
||||
"init": {
|
||||
"jobs": [
|
||||
{
|
||||
"name": "vfs-mkdir",
|
||||
"data": [
|
||||
"build",
|
||||
"build/debug",
|
||||
"build/release"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"coffee": {
|
||||
"require": [
|
||||
"coffee"
|
||||
],
|
||||
"jobs": [
|
||||
{
|
||||
"name": "coffee-compile",
|
||||
"data": {
|
||||
"src": [
|
||||
"coffees/main.coffee"
|
||||
],
|
||||
"dest": "build/debug/main.js"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"uglify": {
|
||||
"require": [
|
||||
"terser"
|
||||
],
|
||||
"jobs": [
|
||||
{
|
||||
"name": "terser-uglify",
|
||||
"data": [
|
||||
"build/debug/main.js"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"copy": {
|
||||
"jobs": [
|
||||
{
|
||||
"name": "vfs-cp",
|
||||
"data": {
|
||||
"src": [
|
||||
"css/main.css",
|
||||
"assets/scheme.html",
|
||||
"package.json",
|
||||
"README.md"
|
||||
],
|
||||
"dest": "build/debug"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"release": {
|
||||
"require": [
|
||||
"zip"
|
||||
],
|
||||
"depend": [
|
||||
"init",
|
||||
"coffee",
|
||||
"uglify",
|
||||
"copy"
|
||||
],
|
||||
"jobs": [
|
||||
{
|
||||
"name": "zip-mk",
|
||||
"data": {
|
||||
"src": "build/debug",
|
||||
"dest": "build/release/DiffEditor.zip"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
@ -1,2 +1,5 @@
|
||||
# DiffEditor
|
||||
View and edit files in diff mode
|
||||
|
||||
## Change logs
|
||||
- Add dependencies
|
||||
|
@ -1,4 +1,3 @@
|
||||
|
||||
afx-app-window[data-id="DiffEditor"] afx-hbox[data-id="status-bar"] {
|
||||
background-color: #007ACC;
|
||||
}
|
||||
|
File diff suppressed because one or more lines are too long
@ -7,7 +7,7 @@
|
||||
"author": "",
|
||||
"edsdmail": ""
|
||||
},
|
||||
"version":"0.1.3-a",
|
||||
"version":"0.1.5-a",
|
||||
"category":"Development",
|
||||
"iconclass":"bi bi-file-diff-fill",
|
||||
"mimes":["none"],
|
||||
|
Binary file not shown.
@ -20,7 +20,6 @@ class DiffEditor extends @OS.application.BaseApplication
|
||||
return @openFile e.data.path.asFileHandle()
|
||||
|
||||
@currdir = undefined
|
||||
ace.config.set('basePath', "scripts/ace")
|
||||
ace.require("ace/ext/language_tools")
|
||||
@modelist = ace.require("ace/ext/modelist")
|
||||
|
||||
@ -199,10 +198,11 @@ class DiffEditor extends @OS.application.BaseApplication
|
||||
@differ.destroy()
|
||||
|
||||
DiffEditor.dependencies = [
|
||||
"os://scripts/ace/ace.js",
|
||||
"os://scripts/ace/ext-language_tools.js",
|
||||
"os://scripts/ace/ext-themelist.js",
|
||||
"os://scripts/ace/ext-modelist.js",
|
||||
"pkg://ACECore/core/ace.js",
|
||||
"pkg://ACECore/path.js",
|
||||
"pkg://ACECore/core/ext-language_tools.js",
|
||||
"pkg://ACECore/core/ext-modelist.js",
|
||||
"pkg://ACECore/core/ext-themelist.js",
|
||||
"pkg://AceDiff/main.js",
|
||||
"pkg://AceDiff/main.css"
|
||||
]
|
||||
|
@ -7,7 +7,7 @@
|
||||
"author": "",
|
||||
"edsdmail": ""
|
||||
},
|
||||
"version":"0.1.3-a",
|
||||
"version":"0.1.5-a",
|
||||
"category":"Development",
|
||||
"iconclass":"bi bi-file-diff-fill",
|
||||
"mimes":["none"],
|
||||
|
Reference in New Issue
Block a user