Skip to content

Commit 7b1176c

Browse files
committed
Fix running on Adobe Animate
1 parent 003ebfa commit 7b1176c

File tree

4 files changed

+5
-4
lines changed

4 files changed

+5
-4
lines changed

README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -208,9 +208,10 @@ Next, after preparing all modules, you need to open console in root of repositor
208208
- Debug
209209
If you want to use a debug build you need to use this command:
210210
`
211-
npm run build:dev
211+
npm run build:dev / npm run build:prod
212212
`
213213
After that, extension should load into Adobe Animate.
214+
(Try reinstalling Adobe Animate if the extension does not work.)
214215
- Release
215216
To build a zxp package, you need to fill in certificate details in `scripts/cert.ts` and then run following command:
216217
`

plugin/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
cmake_minimum_required(VERSION 3.21)
22
include(FetchContent)
33

4-
set(TARGET ScAnimatePlugin)
4+
set(TARGET Plugin)
55
project(${TARGET})
66

77
option(SC_ANIMATE_IMAGE_DEBUG "SC Plugin Image Debug Mode" OFF)

plugin/build.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ function buildWindows() {
7070
} else {
7171
exec("xmake f --mode=releasedbg --kind=shared")
7272
}
73-
exec("xmake build ScAnimatePlugin")
73+
exec("xmake build Plugin")
7474

7575
copyDir(binaryDirectory, outputDirectory);
7676
progress("Done");

plugin/xmake.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ add_requires("opencv 4.9.0")
1818
add_requires("supercell_flash")
1919
add_requires("atlas_generator")
2020

21-
target("ScAnimatePlugin")
21+
target("Plugin")
2222
set_kind("$(kind)")
2323
set_languages("cxx17")
2424

0 commit comments

Comments
 (0)