Exemplo n.º 1
0
        public CustomSongPage()
        {
            pathLogic.GetSongFolder(false, songMode);

            InitializeComponent();

            FetchSongsListAsync();
        }
Exemplo n.º 2
0
        public void ExportAndPlay()
        {
            Export();
            string songFolder = PathLogic.GetSongFolder();

            File.Delete(Path.Combine(songFolder, audicaFile.desc.songID + ".audica"));
            File.Copy(audicaFile.filepath, Path.Combine(songFolder, audicaFile.desc.songID + ".audica"));

            string newPath = Path.GetFullPath(Path.Combine(songFolder, @"..\..\..\..\"));

            System.Diagnostics.Process.Start(Path.Combine(newPath, "Audica.exe"));
        }
Exemplo n.º 3
0
        public Main()
        {
            this.DataContext = this;

            pathLogic.GetSongFolder(false, songMode);

            InitializeComponent();


            UISongsSearch.IsEnabled  = false;
            UIDownloadBtn.IsEnabled  = false;
            UIUninstallBtn.IsEnabled = false;
            UIPreviewSong.IsEnabled  = false;

            AutoUpdater.Start("https://circuitcubed.com/asd/ASDVersions.xml");

            FetchSongsListAsync();
        }
Exemplo n.º 4
0
 private void UIAutodetectSongFolder_Click(object sender, RoutedEventArgs e)
 {
     pathLogic.GetSongFolder(true, songMode);
     UpdateSongFolderUI();
 }