Skip to content

Commit

Permalink
Merge pull request #4 from psidex/rename
Browse files Browse the repository at this point in the history
Name change
  • Loading branch information
psidex authored Apr 10, 2020
2 parents 584071e + 3ab08e8 commit 3a657c9
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 19 deletions.
16 changes: 7 additions & 9 deletions GUIDE.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# User Guide

The folder that contains all the saved configuration files will be located at `EqualizerAPO\config\E-APO-Config-Switcher\config-files`
The folder that contains all the saved configuration files will be located at `EACS\config-files`

## Adding your own config

Expand All @@ -14,22 +14,20 @@ Filter 1: ON LS Fc 500 Hz Gain 5 dB

and you want to call the configuration `My Config`

Copy the config text (shown above) and place in a file named `My Config.txt`
Create a file in `config-files` names `My Config.txt`

Move this file into the EACS configuration folder
Copy the configuration text and paste it into `My Config.txt`

Restart E-APO-Config-Switcher and you will see your new configuration appear in the list
Restart EACS and you will see your new configuration appear in the list

## Editing a config

Find the `.txt` in the configuration folder of the config you want to edit
Simply find the `.txt` in the configuration folder of the config you want to edit, open the file and edit the text how you want

Open the file and edit the text how you want

Once you save the file, un-check (if it was previously checked) and check the configuration in E-APO-Config-Switcher and your new configuration will be applied
Once you save the file, you can click on it in EACS and your new configuration will be applied. If it was previously checked, just un-check and then check it again.

## Remove a config

To remove a config all you have to do is delete the `.txt` file associated with that configuration

Restart E-APO-Config-Switcher and you will see the configuration does not appear in the list anymore
Restart EACS and you will see the configuration does not appear in the list anymore
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Equalizer APO Config Switcher
# EACS - Equalizer APO Config Switcher

[![Build Status](https://github.com/psidex/E-APO-Config-Switcher/workflows/Go%20Build/badge.svg)](https://github.com/psidex/E-APO-Config-Switcher/actions)
[![license](https://img.shields.io/github/license/psidex/E-APO-Config-Switcher.svg)](./LICENSE)
[![Build Status](https://github.com/psidex/EACS/workflows/Go%20Build/badge.svg)](https://github.com/psidex/EACS/actions)
[![license](https://img.shields.io/github/license/psidex/EACS.svg)](./LICENSE)

A small Windows tray app that allows you to quickly switch between using different [Equalizer APO](https://sourceforge.net/projects/equalizerapo/) configuration files

Expand All @@ -22,7 +22,7 @@ Inspired by [Peace](https://sourceforge.net/projects/peace-equalizer-apo-extensi

## Install

- Download the latest `E-APO-Config-Switcher.zip` from [releases](https://github.com/psidex/E-APO-Config-Switcher/releases/latest)
- Download the latest `E-APO-Config-Switcher.zip` from [releases](https://github.com/psidex/EACS/releases/latest)
- Extract it to `<Equalizer APO install location>\EqualizerAPO\config`
- Run `E_APO_Config_Switcher.exe` that is now inside `config\E-APO-Config-Switcher`
- You should now have the icon in your system tray, you can now left/right click on it to switch configurations
Expand Down
4 changes: 2 additions & 2 deletions config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ func CreateConfigSlice() []*EApoConfig {

files, err := ioutil.ReadDir(configFileDir)
if err != nil {
dialog.Alert("E-APO Config Error", "Cannot read config file directory: "+configFileDir)
dialog.Alert("EACS Config Error", "Cannot read config file directory: "+configFileDir)
// Can't do anything else.
os.Exit(1)
}
Expand Down Expand Up @@ -74,7 +74,7 @@ func WriteConfigToMaster(configSlice []*EApoConfig) {

err := ioutil.WriteFile(configFileMaster, completeData, 0644)
if err != nil {
dialog.Alert("E-APO Config Error", "Cannot write to master config file: "+configFileMaster)
dialog.Alert("EACS Config Error", "Cannot write to master config file: "+configFileMaster)
os.Exit(1)
return
}
Expand Down
8 changes: 4 additions & 4 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ package main

import (
"github.com/getlantern/systray"
"github.com/psidex/E-APO-Config-Switcher/config"
"github.com/psidex/E-APO-Config-Switcher/icon"
"github.com/psidex/EACS/config"
"github.com/psidex/EACS/icon"
)

func main() {
Expand All @@ -12,8 +12,8 @@ func main() {

func onReady() {
systray.SetIcon(icon.Data)
systray.SetTitle("E-APO Config Switcher")
systray.SetTooltip("E-APO Config Switcher")
systray.SetTitle("Equalizer APO Config Switcher")
systray.SetTooltip("Equalizer APO Config Switcher")

configSlice := config.CreateConfigSlice()

Expand Down

0 comments on commit 3a657c9

Please sign in to comment.