Skip to content

Commit

Permalink
workflow: push builds
Browse files Browse the repository at this point in the history
  • Loading branch information
pylixonly committed Feb 8, 2024
1 parent dbdfb11 commit 9158ec2
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Build
on:
push:
branches: [rewrite]
branches: [main]

jobs:
build:
Expand All @@ -12,9 +12,9 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/checkout@v3
with:
repository: "vendetta-mod/builds"
repository: "pyoncord/detta-builds"
path: "builds"
token: ${{ secrets.BEEF_TOKEN }}
token: ${{ secrets.PYLIX_TOKEN }}
- uses: actions/setup-node@v3
with:
node-version: 16
Expand All @@ -40,5 +40,5 @@ jobs:
- name: Purge CDN cache
run: |
curl https://purge.jsdelivr.net/gh/vendetta-mod/builds
curl https://purge.jsdelivr.net/gh/pyoncord/detta-builds
2 changes: 1 addition & 1 deletion build.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ try {
minify: isRelease,
format: "iife",
target: "esnext",
outfile: "dist/pyoncord.js",
outfile: "dist/pyondetta.js",
keepNames: true,
define: {
__vendettaIsDev: `${!isRelease}`,
Expand Down
2 changes: 1 addition & 1 deletion src/entry.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { ClientInfoManager } from "@lib/native";

// This logs in the native logging implementation, e.g. logcat
console.log("Hello from Pyon-ified Vendetta!");
console.log("Hello from Pyondetta!");

// Make 'freeze' and 'seal' do nothing
Object.freeze = Object;
Expand Down
2 changes: 1 addition & 1 deletion src/lib/plugins.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ export async function evalPlugin(plugin: Plugin) {
// Wrapping this with wrapSync is NOT an option.
storage: await createStorage<Record<string, any>>(createMMKVBackend(plugin.id)),
},
logger: new logModule(`Vendetta » ${plugin.manifest.name}`),
logger: new logModule(`Pyondetta » ${plugin.manifest.name}`),
};
const pluginString = `vendetta=>{return ${plugin.js}}\n//# sourceURL=${plugin.id}`;

Expand Down

0 comments on commit 9158ec2

Please sign in to comment.