Aseprite在线编译教程
开发学院2024-11-30 22:36:58
首先fork项目到自己的账户下下面,启用action。
首先fork项目到自己的账户下下面,启用action。
打开代码中的.github\workflows\build.yml,删除原来的代码,复制下面的代码,点击右上角提交。等待20分钟左右,到action中即可下载。
个别用户会出现缺少dll文件,缺少dill文件的可以在这里下载:
下载链接:https://pan.baidu.com/s/15hNP0P0JunSQuvZaZVPljw
提取码:47d4
dll文件复制到C:\Windows\System32目录下。
name: build on: [push, pull_request] jobs: build: runs-on: ${{ matrix.os }} strategy: fail-fast: false matrix: os: [windows-latest] build_type: [Release] enable_ui: [on] include: - os: windows-latest build_type: Release enable_ui: on steps: - uses: actions/checkout@v3 with: submodules: 'recursive' - name: ccache uses: hendrikmuhs/ccache-action@v1 if: runner.os == 'Linux' with: key: ${{ matrix.os }}-${{ matrix.enable_ui }} - uses: seanmiddleditch/gha-setup-ninja@master - uses: ilammy/msvc-dev-cmd@v1 if: runner.os == 'Windows' - name: Install Dependencies shell: bash run: | if [[ "${{ runner.os }}" == "Linux" ]] ; then sudo apt-get update -qq sudo apt-get install -y \ libx11-dev libxcursor-dev libxi-dev fi - name: Generating Makefiles shell: bash run: | if [[ "${{ runner.os }}" == "Windows" ]] ; then export enable_ccache=off else export enable_ccache=on fi curl -L https://github.com/blueloveTH/aseprite/releases/download/v0.01/skia.zip --output skia.zip 7z x skia.zip cmake -S . -B build -G Ninja \ -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} \ -DENABLE_UI=${{ matrix.enable_ui }} \ -DENABLE_CCACHE=$enable_ccache \ -DLAF_BACKEND=skia \ -DSKIA_DIR=./skia \ -DSKIA_LIBRARY_DIR=./skia/out/Release-x64 \ -DSKIA_LIBRARY=./skia/out/Release-x64/skia.lib - name: Compiling shell: bash run: | cd build && ninja - uses: actions/upload-artifact@v3 with: name: aseprite path: | D:/a/aseprite/aseprite/build/bin/data D:/a/aseprite/aseprite/build/bin/aseprite.exe
相关文章
- UE5敌人直接放置场景ok,代码生成不执行AI
- UE5中开发HD-2D游戏的优化设置与2D角色导入技巧
- nginxSpringboot项目常见配置
- 在MacOS上部署ComfyUI的指南
- 解决UE5开发Topdown2D动作游戏的旋转问题
- UE5开发2D游戏设置排序的步骤.
- 大幅提升FPS!Unreal Engine 5 最佳 2D 设置
- Aseprite在线编译教程
- 探索Nexa AI:开源边缘智能的新纪元
- Springboot项目允许根目录txt文件被访问
- lnmp一键安装包多php环境安装
- Python虚拟环境整合包制作:一键打包与运行指南
- aws云服务器使用root登录
- nginx配置允许跨域
- nginx配置springboot反向代理,同时允许上传路径可以直接被访问
- CentOS8更换国内安装源
- 在Linux中使用FFmpeg修剪视频
- uniapp项目(app,小程序)html内容图片尺寸超出屏幕修复
- uniapp启用微信小程序按需注入
- mysql 批量替换指定字符