1.2.3 • Published 3 months ago

anl v1.2.3

Weekly downloads
-
License
ISC
Repository
github
Last release
3 months ago

Animated Logo

This library allows Discord RPC Image and electron Image to be moving like a gif.

Electron

An example of using images in electron, all images have to be 60x60.

const { ElectronAnimatedLogo } = require('../index.js');

app.whenReady().then((() => {
    const window = new BrowserWindow({
        width: 410,
        frame: null,
        height: 728,
        webPreferences: {
        nodeIntegration: true
        },
        minWidth: 400
    });

    new ElectronAnimatedLogo({
        window,
        interval: 40,
        directory: './images',
        start: true
    });
}));

Discord RPC

Example.

const { DiscordRPCAnimated } = require('../index.js');
const presence = require('discord-rich-presence')('id');

new DiscordRPCAnimated({
    type: 'small', // small/large
    start: true,
    assets: [
        ...[]
    ],
    instance: presence,
    interval: 40
});
1.2.3

3 months ago

1.2.2

3 months ago

1.2.1

3 months ago

1.2.0

3 months ago

1.1.1

1 year ago

1.0.2

1 year ago

1.1.0

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago

1.1.4

1 year ago

1.1.3

1 year ago

1.0.4

1 year ago

1.1.2

1 year ago

1.0.3

1 year ago

0.0.1

3 years ago