You've already forked AstralRinth
forked from didirus/AstralRinth
feat: add info event listener and payload for enhanced event handling
- Implemented `info_listener` in `events.js` to listen for 'info' events and handle payloads. - Added `emit_info` function in `emit.rs` to emit 'info' events with a message payload. - Defined `InfoPayload` struct in `mod.rs` to structure the data for 'info' events. - Integrated `emit_info` calls in the Minecraft launch logic to provide feedback on account types. - Introduced a new offline icon in SVG format and removed outdated pirate icons from assets. - Updated asset index to include the new offline icon and removed references to deleted icons.
This commit is contained in:
@@ -118,14 +118,12 @@ export const VisaIcon = _VisaIcon
|
||||
export const MinecraftServerIcon = _MinecraftServerIcon
|
||||
|
||||
// [AR] Styles
|
||||
import _PirateIcon from './icons/pirate.svg?component'
|
||||
import _MicrosoftIcon from './icons/microsoft.svg?component'
|
||||
import _PirateShipIcon from './icons/pirate-ship.svg?component'
|
||||
import _AstralRinthLogo from './icons/astralrinth-logo.svg?component'
|
||||
import _ElyByIcon from './icons/elyby-icon.svg?component'
|
||||
export const PirateIcon = _PirateIcon
|
||||
import _MicrosoftIcon from './icons/microsoft.svg?component'
|
||||
import _OfflineIcon from './icons/offline.svg?component'
|
||||
export const OfflineIcon = _OfflineIcon
|
||||
export const MicrosoftIcon = _MicrosoftIcon
|
||||
export const PirateShipIcon = _PirateShipIcon
|
||||
export const AstralRinthLogo = _AstralRinthLogo
|
||||
export const ElyByIcon = _ElyByIcon
|
||||
|
||||
|
||||
Reference in New Issue
Block a user