mirror of
https://github.com/redphx/better-xcloud.git
synced 2025-08-07 05:38:27 +02:00
Create better-xcloud.lite.user.js
This commit is contained in:
@@ -1,5 +1,13 @@
|
||||
import stylus from 'stylus';
|
||||
|
||||
export const isFullVersion = () => {
|
||||
return Bun.env.BUILD_VARIANT === 'full';
|
||||
};
|
||||
|
||||
export const isLiteVersion = () => {
|
||||
return Bun.env.BUILD_VARIANT === 'lite';
|
||||
};
|
||||
|
||||
export const renderStylus = async () => {
|
||||
const file = Bun.file('./src/assets/css/styles.styl');
|
||||
const cssStr = await file.text();
|
||||
|
Reference in New Issue
Block a user